|
@@ -108,10 +108,10 @@ public class GroupBudgetReviewController {
|
|
httpRespMsg.setError("验证失败");
|
|
httpRespMsg.setError("验证失败");
|
|
return httpRespMsg;
|
|
return httpRespMsg;
|
|
}
|
|
}
|
|
|
|
+ Integer groupId = groupBudgetReview.getGroupId();
|
|
|
|
+ TaskGroup taskGroup = taskGroupMapper.selectById(groupId);
|
|
if(checkType==1){
|
|
if(checkType==1){
|
|
//审核通过计算到任务分组的项目人天
|
|
//审核通过计算到任务分组的项目人天
|
|
- Integer groupId = groupBudgetReview.getGroupId();
|
|
|
|
- TaskGroup taskGroup = taskGroupMapper.selectById(groupId);
|
|
|
|
Double manDay = taskGroup.getManDay();
|
|
Double manDay = taskGroup.getManDay();
|
|
BigDecimal bigDecimal = new BigDecimal(manDay==null?0:manDay);
|
|
BigDecimal bigDecimal = new BigDecimal(manDay==null?0:manDay);
|
|
bigDecimal=bigDecimal.add(new BigDecimal(groupBudgetReview.getChangeManDay()==null?0:groupBudgetReview.getChangeManDay()));
|
|
bigDecimal=bigDecimal.add(new BigDecimal(groupBudgetReview.getChangeManDay()==null?0:groupBudgetReview.getChangeManDay()));
|
|
@@ -139,7 +139,7 @@ public class GroupBudgetReviewController {
|
|
String corpwxUserid = user.getCorpwxUserid();
|
|
String corpwxUserid = user.getCorpwxUserid();
|
|
if (corpwxUserid != null) {
|
|
if (corpwxUserid != null) {
|
|
WxCorpInfo info = wxCorpInfoMapper.selectOne(new QueryWrapper<WxCorpInfo>().eq("company_id",checker.getCompanyId()));
|
|
WxCorpInfo info = wxCorpInfoMapper.selectOne(new QueryWrapper<WxCorpInfo>().eq("company_id",checker.getCompanyId()));
|
|
- wxCorpInfoService.sendWXCorpMsg(info, corpwxUserid,sb.toString(), "budgetReview", WxCorpInfoServiceImpl.TEXT_CARD_MSG_REPORT_DENY);
|
|
|
|
|
|
+ wxCorpInfoService.sendWXCorpMsg(info, corpwxUserid,sb.toString(), "projectInside/"+taskGroup.getProjectId()+"@adjustBudget-"+taskGroup.getId(), WxCorpInfoServiceImpl.TEXT_CARD_MSG_REPORT_DENY);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
return httpRespMsg;
|
|
return httpRespMsg;
|