|
@@ -1378,7 +1378,7 @@ public class ActTaskService extends BaseService {
|
|
|
vars.put("pass5",true);
|
|
|
}
|
|
|
if ("行政".equals(flagDeal)) {
|
|
|
- vars.put("coveredPerson","政策处理");
|
|
|
+ vars.put("coveredPerson","施工单位");
|
|
|
vars.put("pass3",true);
|
|
|
}
|
|
|
if (!flagDesign&&!flagItemCLose&&"空".equals(flagDeal)){
|
|
@@ -1674,8 +1674,8 @@ public class ActTaskService extends BaseService {
|
|
|
public void seal(Act act) {
|
|
|
Map<String, Object> vars = Maps.newHashMap();
|
|
|
String flag = act.getFlag();
|
|
|
- vars.put("sealYes", false);
|
|
|
- vars.put("sealNo", false);
|
|
|
+ vars.put("receiptYes", false);
|
|
|
+ vars.put("receiptNo", false);
|
|
|
if ("yes".equals(flag)) {
|
|
|
vars.put("receiptPerson",UserUtils.getUser().getLoginName());
|
|
|
act.setComment("[没有问题]"+act.getComment());
|
|
@@ -1718,15 +1718,15 @@ public class ActTaskService extends BaseService {
|
|
|
complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
}
|
|
|
/**
|
|
|
- * 政策处理:配网政策处理专职 : 上传收据
|
|
|
+ * 政策处理:配网政策处理专职 : 收据
|
|
|
* @param act
|
|
|
*/
|
|
|
@Transactional(readOnly = false)
|
|
|
public void receiptTask(Act act) {
|
|
|
Map<String, Object> vars = Maps.newHashMap();
|
|
|
String flag = act.getFlag();
|
|
|
- vars.put("sealYes", false);
|
|
|
- vars.put("sealNo", false);
|
|
|
+ vars.put("singleYes", false);
|
|
|
+ vars.put("singleNo", false);
|
|
|
if ("yes".equals(flag)) {
|
|
|
vars.put("singlePerson",UserUtils.getUser().getLoginName());
|
|
|
act.setComment("[没有问题]"+act.getComment());
|
|
@@ -1751,8 +1751,8 @@ public class ActTaskService extends BaseService {
|
|
|
public void singleTask(Act act) {
|
|
|
Map<String, Object> vars = Maps.newHashMap();
|
|
|
String flag = act.getFlag();
|
|
|
- vars.put("sealYes", false);
|
|
|
- vars.put("sealNo", false);
|
|
|
+ vars.put("policyYes", false);
|
|
|
+ vars.put("singleNo", false);
|
|
|
if ("yes".equals(flag)) {
|
|
|
vars.put("policyPay",UserUtils.getUser().getLoginName());
|
|
|
act.setComment("[没有问题]"+act.getComment());
|
|
@@ -1769,6 +1769,31 @@ public class ActTaskService extends BaseService {
|
|
|
// 提交流程任务
|
|
|
complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 政策处理:配网政策处理专职 : 上传借款
|
|
|
+ * @param act
|
|
|
+ */
|
|
|
+ @Transactional(readOnly = false)
|
|
|
+ public void policy1Pay(Act act) {
|
|
|
+ Map<String, Object> vars = Maps.newHashMap();
|
|
|
+ String flag = act.getFlag();
|
|
|
+ vars.put("finishYes", false);
|
|
|
+ vars.put("finishNo", false);
|
|
|
+ if ("yes".equals(flag)) {
|
|
|
+ act.setComment("[没有问题]"+act.getComment());
|
|
|
+ vars.put("finishYes", true);
|
|
|
+ } else {
|
|
|
+ vars.put("coveredPerson","施工单位");
|
|
|
+ act.setComment("[驳回]" + act.getComment());
|
|
|
+ vars.put("finishNo", true);
|
|
|
+ }
|
|
|
+ // 设置意见
|
|
|
+ act.preUpdate();
|
|
|
+ // 对不同环节的业务逻辑进行操作
|
|
|
+ String taskDefKey = act.getTaskDefKey();
|
|
|
+ // 提交流程任务
|
|
|
+ complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
+ }
|
|
|
/**
|
|
|
* 保存审核意见
|
|
|
*
|