|
|
@@ -128,10 +128,12 @@ public class AsyncUtils {
|
|
|
/**
|
|
|
*
|
|
|
* @param type 1营销管理 2公司管理 3财务管理 4咨询管理
|
|
|
- * @param depId
|
|
|
+ * @param id 管理员id
|
|
|
* @param roleType
|
|
|
*/
|
|
|
- public void updateListExamineName(Integer type, String depId, String roleType) {
|
|
|
+ public void updateListExamineName(Integer type, String id, String roleType) {
|
|
|
+ Admin admin = adminMapper.selectByPrimaryKey(id);
|
|
|
+ String depId=admin.getDepartmentId();
|
|
|
String names="";
|
|
|
if (type==1){
|
|
|
names=getNames(type,depId, roleType);
|
|
|
@@ -147,6 +149,10 @@ public class AsyncUtils {
|
|
|
names=getNames(type,depId, roleType);
|
|
|
tOrderNewMapper.updateExamineName(ProcessStatus.YPZXSGLY.getCode(),depId,null,names);
|
|
|
newOrderChangeMapper.updateExamineName(OrderChangeProcess.JSZJ.getCode(),depId,null,names);
|
|
|
+ }else if (type==5){
|
|
|
+ newOrderChangeMapper.updateTaskExamineName(admin.getId(),admin.getId(),2);
|
|
|
+ }else if (type==6){
|
|
|
+ newOrderChangeMapper.updateTaskExamineName(admin.getId(),admin.getId(),3);
|
|
|
}
|
|
|
}
|
|
|
|