Merge remote-tracking branch 'origin/lmy20231211' into 相关方关联分公司功能
commit
c972e6c9c7
|
@ -88,6 +88,7 @@ public class AppHomeController extends BaseController {
|
||||||
if(!Tools.isEmpty(pd.get("USER_ID"))){
|
if(!Tools.isEmpty(pd.get("USER_ID"))){
|
||||||
varList = hotworkapplicationService.getCountByMyApproval(pd.getString("USER_ID"));
|
varList = hotworkapplicationService.getCountByMyApproval(pd.getString("USER_ID"));
|
||||||
PageData delayedCount = hotworkapplicationService.getCountByMyApprovalForDelayedHotWork(pd.getString("USER_ID"));
|
PageData delayedCount = hotworkapplicationService.getCountByMyApprovalForDelayedHotWork(pd.getString("USER_ID"));
|
||||||
|
if (Integer.parseInt(delayedCount.getString("count")) != 0) {
|
||||||
if (varList.size() > 0) {
|
if (varList.size() > 0) {
|
||||||
boolean isDelayedExist = false;
|
boolean isDelayedExist = false;
|
||||||
for (PageData data : varList) {
|
for (PageData data : varList) {
|
||||||
|
@ -105,6 +106,7 @@ public class AppHomeController extends BaseController {
|
||||||
} else {
|
} else {
|
||||||
varList.add(delayedCount);
|
varList.add(delayedCount);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
myGasAnaly = hotworkapplicationService.getCountByMyGasAnaly(pd.getString("USER_ID"));
|
myGasAnaly = hotworkapplicationService.getCountByMyGasAnaly(pd.getString("USER_ID"));
|
||||||
}
|
}
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
|
@ -146,6 +148,7 @@ public class AppHomeController extends BaseController {
|
||||||
if(!Tools.isEmpty(pd.get("USER_ID"))){
|
if(!Tools.isEmpty(pd.get("USER_ID"))){
|
||||||
varList = hotworkapplicationService.getCountByMyApproval(pd.getString("USER_ID"));
|
varList = hotworkapplicationService.getCountByMyApproval(pd.getString("USER_ID"));
|
||||||
PageData delayedCount = hotworkapplicationService.getCountByMyApprovalForDelayedHotWork(pd.getString("USER_ID"));
|
PageData delayedCount = hotworkapplicationService.getCountByMyApprovalForDelayedHotWork(pd.getString("USER_ID"));
|
||||||
|
if (Integer.parseInt(delayedCount.getString("count")) != 0) {
|
||||||
if (varList.size() > 0) {
|
if (varList.size() > 0) {
|
||||||
boolean isDelayedExist = false;
|
boolean isDelayedExist = false;
|
||||||
for (PageData data : varList) {
|
for (PageData data : varList) {
|
||||||
|
@ -163,6 +166,7 @@ public class AppHomeController extends BaseController {
|
||||||
} else {
|
} else {
|
||||||
varList.add(delayedCount);
|
varList.add(delayedCount);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
myGasAnaly = hotworkapplicationService.getCountByMyGasAnaly(pd.getString("USER_ID"));
|
myGasAnaly = hotworkapplicationService.getCountByMyGasAnaly(pd.getString("USER_ID"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -746,6 +746,7 @@ public class AppHotWorkApplicationController extends BaseController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
PageData hotUser = new PageData();
|
PageData hotUser = new PageData();
|
||||||
|
if (hotIds.size() > 0) {
|
||||||
hotUser.put("hotIds", hotIds);
|
hotUser.put("hotIds", hotIds);
|
||||||
List<PageData> hotUserAllList = hotWorkApplicationUserService.listAll(hotUser);
|
List<PageData> hotUserAllList = hotWorkApplicationUserService.listAll(hotUser);
|
||||||
for (PageData userPageData : hotUserAllList){
|
for (PageData userPageData : hotUserAllList){
|
||||||
|
@ -785,6 +786,7 @@ public class AppHotWorkApplicationController extends BaseController {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
map.put("varList", varList);
|
map.put("varList", varList);
|
||||||
map.put("page", page);
|
map.put("page", page);
|
||||||
map.put("result", errInfo);
|
map.put("result", errInfo);
|
||||||
|
@ -1361,6 +1363,7 @@ public class AppHotWorkApplicationController extends BaseController {
|
||||||
if(!Tools.isEmpty(pd.get("USER_ID"))){
|
if(!Tools.isEmpty(pd.get("USER_ID"))){
|
||||||
varList = hotworkapplicationService.getCountByMyApproval(pd.getString("USER_ID"));
|
varList = hotworkapplicationService.getCountByMyApproval(pd.getString("USER_ID"));
|
||||||
PageData delayedCount = hotworkapplicationService.getCountByMyApprovalForDelayedHotWork(pd.getString("USER_ID"));
|
PageData delayedCount = hotworkapplicationService.getCountByMyApprovalForDelayedHotWork(pd.getString("USER_ID"));
|
||||||
|
if (Integer.parseInt(delayedCount.getString("count")) != 0) {
|
||||||
if (varList.size() > 0) {
|
if (varList.size() > 0) {
|
||||||
boolean isDelayedExist = false;
|
boolean isDelayedExist = false;
|
||||||
for (PageData data : varList) {
|
for (PageData data : varList) {
|
||||||
|
@ -1378,6 +1381,7 @@ public class AppHotWorkApplicationController extends BaseController {
|
||||||
} else {
|
} else {
|
||||||
varList.add(delayedCount);
|
varList.add(delayedCount);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
myGasAnaly = hotworkapplicationService.getCountByMyGasAnaly(pd.getString("USER_ID"));
|
myGasAnaly = hotworkapplicationService.getCountByMyGasAnaly(pd.getString("USER_ID"));
|
||||||
}
|
}
|
||||||
map.put("varList", varList);
|
map.put("varList", varList);
|
||||||
|
|
Loading…
Reference in New Issue