维护养护

master
yangzhe123 2025-09-10 09:11:44 +08:00
parent 0927bb6259
commit 2654c4b821
1 changed files with 1 additions and 2 deletions

View File

@ -5,9 +5,7 @@ import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gunshi.core.result.R;
import com.gunshi.core.session.entity.SessionUser;
import com.gunshi.project.hsz.entity.so.ByPlanPageSo;
import com.gunshi.project.hsz.entity.so.MentencePlanPageSo;
import com.gunshi.project.hsz.model.ByPlan;
import com.gunshi.project.hsz.model.MentencePlan;
import com.gunshi.project.hsz.model.MentencePlanDetail;
import com.gunshi.project.hsz.service.FileAssociationsService;
@ -125,6 +123,7 @@ public class MentencePlanController extends AbstractCommonFileController {
if(Objects.isNull(one)){
throw new RuntimeException("该计划不存在");
}
dto.setApprovePersonId(sessionUser.getUserId() == null?"1":String.valueOf(sessionUser.getUserId()));
dto.setApprovePersonName(sessionUser.getUserName());
mentencePlanService.updateById(dto);
return R.ok(true);