Commit 165f4516 authored by 赵啸非's avatar 赵啸非

添加用户类型修改

parent 07c454fe
...@@ -33,10 +33,10 @@ public class PerformDeptConfDetailServiceImpl extends AbstractCRUDServiceImpl<Pe ...@@ -33,10 +33,10 @@ public class PerformDeptConfDetailServiceImpl extends AbstractCRUDServiceImpl<Pe
} }
PerformDeptConfDetailEntity entity = new PerformDeptConfDetailEntity(); PerformDeptConfDetailEntity entity = new PerformDeptConfDetailEntity();
entity.setId(id); entity.setId(id);
if(temp.getEnable() == EnabledEnum..getValue()){ if(temp.getEnable() == EnabledEnum..getValue()){
entity.setEnable(EnabledEnum.启用.getValue()); entity.setEnable(EnabledEnum.启用.getValue());
}else { }else {
entity.setEnable(EnabledEnum..getValue()); entity.setEnable(EnabledEnum..getValue());
} }
if(context!=null && context.getUser()!=null){ if(context!=null && context.getUser()!=null){
entity.setUpdateTime(new Date()); entity.setUpdateTime(new Date());
......
...@@ -34,10 +34,10 @@ public class PerformStaffConfDetailServiceImpl extends AbstractCRUDServiceImpl<P ...@@ -34,10 +34,10 @@ public class PerformStaffConfDetailServiceImpl extends AbstractCRUDServiceImpl<P
} }
PerformStaffConfDetailEntity entity = new PerformStaffConfDetailEntity(); PerformStaffConfDetailEntity entity = new PerformStaffConfDetailEntity();
entity.setId(id); entity.setId(id);
if(temp.getEnable() == EnabledEnum..getValue()){ if(temp.getEnable() == EnabledEnum..getValue()){
entity.setEnable(EnabledEnum.启用.getValue()); entity.setEnable(EnabledEnum.启用.getValue());
}else { }else {
entity.setEnable(EnabledEnum..getValue()); entity.setEnable(EnabledEnum..getValue());
} }
if(context!=null && context.getUser()!=null){ if(context!=null && context.getUser()!=null){
entity.setUpdateTime(new Date()); entity.setUpdateTime(new Date());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment