|
@@ -139,13 +139,7 @@ public class PersManageAction implements IMINAction {
|
|
|
User user = session.getUser();
|
|
|
MINActionResult res = new MINActionResult();
|
|
|
//用户基本信息
|
|
|
- VmPersonInf ps = new VmPersonInf();
|
|
|
- ps.setId(id);
|
|
|
- ps.setStatus("01");//冻结
|
|
|
- ps.setModifyTime(DateUtil.getCurrentDateTimeString());//修改时间
|
|
|
- ps.setModifyUser(session.getUser().getId()); //修改人
|
|
|
- Service.lookup(IMINDataBaseService.class)
|
|
|
- .getMybatisMapper(VmPersonInfMapper.class).updateByPrimaryKeySelective(ps);
|
|
|
+
|
|
|
//关联表
|
|
|
VmPersonRoleInf pi = new VmPersonRoleInf();
|
|
|
pi.setState("01");
|
|
@@ -180,13 +174,7 @@ public class PersManageAction implements IMINAction {
|
|
|
//获取当前用户
|
|
|
User user = session.getUser();
|
|
|
MINActionResult res = new MINActionResult();
|
|
|
- VmPersonInf ps = new VmPersonInf();
|
|
|
- ps.setId(id);
|
|
|
- ps.setStatus("00");//正常
|
|
|
- ps.setModifyTime(DateUtil.getCurrentDateTimeString());//修改时间
|
|
|
- ps.setModifyUser(session.getUser().getId()); //修改人
|
|
|
- Service.lookup(IMINDataBaseService.class)
|
|
|
- .getMybatisMapper(VmPersonInfMapper.class).updateByPrimaryKeySelective(ps);
|
|
|
+
|
|
|
//关联表
|
|
|
VmPersonRoleInf pi = new VmPersonRoleInf();
|
|
|
pi.setState("00");
|