|
|
@@ -14,6 +14,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import com.goafanti.common.bo.Error;
|
|
|
+import com.goafanti.common.dao.ContractTaskLogMapper;
|
|
|
import com.goafanti.common.dao.RoleMapper;
|
|
|
import com.goafanti.common.dao.RolePermissionMapper;
|
|
|
import com.goafanti.common.dao.RoleResourcesMapper;
|
|
|
@@ -21,6 +22,7 @@ import com.goafanti.common.dao.UserMapper;
|
|
|
import com.goafanti.common.dao.UserRoleMapper;
|
|
|
import com.goafanti.common.enums.roleResources;
|
|
|
import com.goafanti.common.error.BusinessException;
|
|
|
+import com.goafanti.common.model.ContractTaskLog;
|
|
|
import com.goafanti.common.model.Role;
|
|
|
import com.goafanti.common.model.RolePermission;
|
|
|
import com.goafanti.common.model.RoleResources;
|
|
|
@@ -44,6 +46,8 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
RolePermissionMapper rolePermissionMapper;
|
|
|
@Autowired
|
|
|
RoleResourcesMapper roleResourcesMapper;
|
|
|
+ @Autowired
|
|
|
+ ContractTaskLogMapper contractTaskLogMapper;
|
|
|
@Override
|
|
|
public Pagination<RoleBo> findRoles(RoleBo role, Integer pageNo, Integer pageSize) {
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
@@ -179,6 +183,10 @@ public class NewRoleServiceImpl extends BaseMybatisDao<RoleMapper> implements Ne
|
|
|
if (s==roleResources.QDYW.getCode()) {
|
|
|
roleResourcesMapper.updateLockRelease("1",aid,transferId);//将业务锁转给指定人
|
|
|
}
|
|
|
+ if (s==roleResources.XMRW.getCode()) {
|
|
|
+
|
|
|
+ contractTaskLogMapper.updateDimissionTransfer(aid,transferId);
|
|
|
+ }
|
|
|
if (s!=roleResources.QDYW.getCode()) {
|
|
|
roleResourcesMapper.updateDimissionTransfer(s,aid,transferId);
|
|
|
}
|