This commit is contained in:
huangzj
2023-06-15 16:39:06 +08:00
parent 97b686ea48
commit 80ce037a22
2 changed files with 4 additions and 4 deletions

View File

@@ -29,9 +29,9 @@ public class CsEngineeringAddParm {
/** /**
* 用户id * 用户id
*/ */
@ApiModelProperty(value = "用户id") // @ApiModelProperty(value = "用户id")
@NotBlank(message="用户id不能为空") // @NotBlank(message="用户id不能为空")
private String userId; // private String userId;
/** /**
* 省 * 省

View File

@@ -75,7 +75,7 @@ public class CsEngineeringServiceImpl extends ServiceImpl<CsEngineeringMapper, C
//绑定用户 //绑定用户
CsEngineeringUserPO po = new CsEngineeringUserPO(); CsEngineeringUserPO po = new CsEngineeringUserPO();
po.setEngineeringId(csEngineeringPO.getId()); po.setEngineeringId(csEngineeringPO.getId());
po.setUserId(csEngineeringAddParm.getUserId()); po.setUserId(RequestUtil.getUserIndex());
csEngineeringUserMapper.insert(po); csEngineeringUserMapper.insert(po);
return save; return save;