修改bug
This commit is contained in:
parent
cc8475b8b8
commit
5a2d9a1861
|
|
@ -195,6 +195,7 @@ public class EmployeesApply implements Serializable {
|
||||||
@ApiModelProperty(value = "修改状态")
|
@ApiModelProperty(value = "修改状态")
|
||||||
private java.lang.String modifyStatus;
|
private java.lang.String modifyStatus;
|
||||||
private java.lang.String headPath;
|
private java.lang.String headPath;
|
||||||
|
private java.lang.String optType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 审批字符串 有值时说明是走的审批
|
* 审批字符串 有值时说明是走的审批
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,14 @@ import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang.StringUtils;
|
import org.apache.commons.lang.StringUtils;
|
||||||
|
import org.apache.shiro.SecurityUtils;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
import org.jeecg.common.api.vo.Result;
|
import org.jeecg.common.api.vo.Result;
|
||||||
import org.jeecg.common.aspect.annotation.AutoLog;
|
import org.jeecg.common.aspect.annotation.AutoLog;
|
||||||
import org.jeecg.common.system.base.controller.JeecgController;
|
import org.jeecg.common.system.base.controller.JeecgController;
|
||||||
import org.jeecg.common.system.query.QueryGenerator;
|
import org.jeecg.common.system.query.QueryGenerator;
|
||||||
import org.jeecg.common.system.query.QueryRuleEnum;
|
import org.jeecg.common.system.query.QueryRuleEnum;
|
||||||
|
import org.jeecg.common.system.vo.LoginUser;
|
||||||
import org.springframework.beans.BeanUtils;
|
import org.springframework.beans.BeanUtils;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
@ -139,6 +141,9 @@ public class NuBaseInfoController extends JeecgController<NuBaseInfo, INuBaseInf
|
||||||
@RequiresPermissions("nuBaseInfo:nu_base_info:add")
|
@RequiresPermissions("nuBaseInfo:nu_base_info:add")
|
||||||
@PostMapping(value = "/add")
|
@PostMapping(value = "/add")
|
||||||
public Result<String> add(@RequestBody NuBaseInfo nuBaseInfo) {
|
public Result<String> add(@RequestBody NuBaseInfo nuBaseInfo) {
|
||||||
|
|
||||||
|
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
|
||||||
|
nuBaseInfo.setOrgCode(loginUser.getOrgCode());
|
||||||
service.setNuId(nuBaseInfo);
|
service.setNuId(nuBaseInfo);
|
||||||
nuBaseInfoService.save(nuBaseInfo);
|
nuBaseInfoService.save(nuBaseInfo);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -145,6 +145,7 @@ public class NuBaseInfo implements Serializable {
|
||||||
* 是否绑定护理单元支付中 Y支付中(有客户正在给护理单元充值) N没有人在绑定缴费(可以让用户绑定)
|
* 是否绑定护理单元支付中 Y支付中(有客户正在给护理单元充值) N没有人在绑定缴费(可以让用户绑定)
|
||||||
*/
|
*/
|
||||||
private String izBindPaying;
|
private String izBindPaying;
|
||||||
|
private String orgCode;
|
||||||
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String deviceId;//摄像头 ID
|
private String deviceId;//摄像头 ID
|
||||||
|
|
@ -162,8 +163,6 @@ public class NuBaseInfo implements Serializable {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@TableField(exist = false)
|
|
||||||
private String orgCode;
|
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String asyncId;
|
private String asyncId;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue