|
@@ -1196,11 +1196,11 @@ public class ActTaskService extends BaseService {
|
|
|
}
|
|
|
if (pass2 == true) {
|
|
|
vars.put("pass2", true);
|
|
|
- vars.put("itemClose", "");
|
|
|
+ vars.put("itemClose", "专职");
|
|
|
}
|
|
|
if (pass3 == true) {
|
|
|
vars.put("pass3", true);
|
|
|
- vars.put("policy", "");
|
|
|
+ vars.put("policy", "施工单位");
|
|
|
}
|
|
|
if (pass5 == true) {
|
|
|
vars.put("pass5", true);
|
|
@@ -1347,7 +1347,7 @@ public class ActTaskService extends BaseService {
|
|
|
* @param act
|
|
|
*/
|
|
|
@Transactional(readOnly = false)
|
|
|
- public void auditSave3(Act act,Disclose disclose,Boolean flagDesign,Boolean flagItemCLose,Boolean flagDeal) {
|
|
|
+ public void auditSave3(Act act,Disclose disclose,Boolean flagDesign,Boolean flagItemCLose,String flagDeal) {
|
|
|
// 设置意见
|
|
|
act.setComment(("yes".equals(act.getFlag())?"[没有问题] ":"[存在问题] ")+act.getComment());
|
|
|
act.preUpdate();
|
|
@@ -1360,6 +1360,7 @@ public class ActTaskService extends BaseService {
|
|
|
vars.put("pass2", false);
|
|
|
vars.put("pass3", false);
|
|
|
vars.put("pass4", false);
|
|
|
+ vars.put("pass5", false);
|
|
|
if (null!=disclose.getPrecondition()&&!"".equals(disclose.getPrecondition())){
|
|
|
vars.put("pass4", true);
|
|
|
}else {
|
|
@@ -1371,11 +1372,15 @@ public class ActTaskService extends BaseService {
|
|
|
vars.put("itemClose","专职");
|
|
|
vars.put("pass2",flagItemCLose);
|
|
|
}
|
|
|
- if (flagDeal){
|
|
|
+ if ("民事农村".equals(flagDeal)){
|
|
|
vars.put("policy","政策处理");
|
|
|
- vars.put("pass3",flagDeal);
|
|
|
+ vars.put("pass5",true);
|
|
|
+ }
|
|
|
+ if ("行政".equals(flagDeal)) {
|
|
|
+ vars.put("coveredPerson","政策处理");
|
|
|
+ vars.put("pass3",true);
|
|
|
}
|
|
|
- if (!flagDesign&&!flagItemCLose&&!flagDeal){
|
|
|
+ if (!flagDesign&&!flagItemCLose&&"空".equals(flagDeal)){
|
|
|
vars.put("pass",true);
|
|
|
}
|
|
|
}
|
|
@@ -1640,14 +1645,23 @@ public class ActTaskService extends BaseService {
|
|
|
*/
|
|
|
@Transactional(readOnly = false)
|
|
|
public void covered(Act act,String fullName) {
|
|
|
- // 设置意见
|
|
|
- act.setComment(("yes".equals(act.getFlag())?"[没有问题] ":"[存在问题] ")+act.getComment());
|
|
|
+ Map<String, Object> vars = Maps.newHashMap();
|
|
|
+ String flag = act.getFlag();
|
|
|
+ vars.put("sealYes", false);
|
|
|
+ vars.put("sealNo", false);
|
|
|
+ if ("yes".equals(flag)) {
|
|
|
+ vars.put("sealPerson",fullName);
|
|
|
+ act.setComment("[没有问题]"+act.getComment());
|
|
|
+ vars.put("sealYes", true);
|
|
|
+ } else {
|
|
|
+ vars.put("sealPerson","项目经理");
|
|
|
+ act.setComment("[驳回]" + act.getComment());
|
|
|
+ vars.put("sealNo", true);
|
|
|
+ }
|
|
|
act.preUpdate();
|
|
|
// 对不同环节的业务逻辑进行操作
|
|
|
String taskDefKey = act.getTaskDefKey();
|
|
|
// 提交流程任务
|
|
|
- Map<String, Object> vars = Maps.newHashMap();
|
|
|
- vars.put("sealPerson",fullName);
|
|
|
complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
}
|
|
|
/**
|
|
@@ -1656,14 +1670,24 @@ public class ActTaskService extends BaseService {
|
|
|
*/
|
|
|
@Transactional(readOnly = false)
|
|
|
public void seal(Act act) {
|
|
|
+ Map<String, Object> vars = Maps.newHashMap();
|
|
|
+ String flag = act.getFlag();
|
|
|
+ vars.put("sealYes", false);
|
|
|
+ vars.put("sealNo", false);
|
|
|
+ if ("yes".equals(flag)) {
|
|
|
+ vars.put("receiptPerson",UserUtils.getUser().getLoginName());
|
|
|
+ act.setComment("[没有问题]"+act.getComment());
|
|
|
+ vars.put("receiptYes", true);
|
|
|
+ } else {
|
|
|
+ vars.put("coveredPerson","施工单位");
|
|
|
+ act.setComment("[驳回]" + act.getComment());
|
|
|
+ vars.put("receiptNo", true);
|
|
|
+ }
|
|
|
// 设置意见
|
|
|
- act.setComment(("yes".equals(act.getFlag())?"[没有问题] ":"[存在问题] ")+act.getComment());
|
|
|
act.preUpdate();
|
|
|
// 对不同环节的业务逻辑进行操作
|
|
|
String taskDefKey = act.getTaskDefKey();
|
|
|
// 提交流程任务
|
|
|
- Map<String, Object> vars = Maps.newHashMap();
|
|
|
- vars.put("receiptPerson",UserUtils.getUser().getLoginName());
|
|
|
complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
}
|
|
|
/**
|
|
@@ -1672,14 +1696,24 @@ public class ActTaskService extends BaseService {
|
|
|
*/
|
|
|
@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);
|
|
|
+ if ("yes".equals(flag)) {
|
|
|
+ vars.put("singlePerson",UserUtils.getUser().getLoginName());
|
|
|
+ act.setComment("[没有问题]"+act.getComment());
|
|
|
+ vars.put("singleYes", true);
|
|
|
+ } else {
|
|
|
+ vars.put("coveredPerson","施工单位");
|
|
|
+ act.setComment("[驳回]" + act.getComment());
|
|
|
+ vars.put("singleNo", true);
|
|
|
+ }
|
|
|
// 设置意见
|
|
|
- act.setComment(("yes".equals(act.getFlag())?"[没有问题] ":"[存在问题] ")+act.getComment());
|
|
|
act.preUpdate();
|
|
|
// 对不同环节的业务逻辑进行操作
|
|
|
String taskDefKey = act.getTaskDefKey();
|
|
|
// 提交流程任务
|
|
|
- Map<String, Object> vars = Maps.newHashMap();
|
|
|
- vars.put("singlePerson",UserUtils.getUser().getLoginName());
|
|
|
complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
}
|
|
|
/**
|
|
@@ -1688,14 +1722,24 @@ public class ActTaskService extends BaseService {
|
|
|
*/
|
|
|
@Transactional(readOnly = false)
|
|
|
public void singleTask(Act act) {
|
|
|
+ Map<String, Object> vars = Maps.newHashMap();
|
|
|
+ String flag = act.getFlag();
|
|
|
+ vars.put("sealYes", false);
|
|
|
+ vars.put("sealNo", false);
|
|
|
+ if ("yes".equals(flag)) {
|
|
|
+ vars.put("policyPay",UserUtils.getUser().getLoginName());
|
|
|
+ act.setComment("[没有问题]"+act.getComment());
|
|
|
+ vars.put("policyYes", true);
|
|
|
+ } else {
|
|
|
+ vars.put("coveredPerson","施工单位");
|
|
|
+ act.setComment("[驳回]" + act.getComment());
|
|
|
+ vars.put("singleNo", true);
|
|
|
+ }
|
|
|
// 设置意见
|
|
|
- act.setComment(("yes".equals(act.getFlag())?"[没有问题] ":"[存在问题] ")+act.getComment());
|
|
|
act.preUpdate();
|
|
|
// 对不同环节的业务逻辑进行操作
|
|
|
String taskDefKey = act.getTaskDefKey();
|
|
|
// 提交流程任务
|
|
|
- Map<String, Object> vars = Maps.newHashMap();
|
|
|
- vars.put("policyPay",UserUtils.getUser().getLoginName());
|
|
|
complete(act.getTaskId(), act.getProcInsId(), act.getComment(), vars);
|
|
|
}
|
|
|
/**
|
|
@@ -2012,4 +2056,19 @@ public class ActTaskService extends BaseService {
|
|
|
// if (null!)
|
|
|
return flag;
|
|
|
}
|
|
|
+ public String newJudgeDeal(Disclose disclose){
|
|
|
+ String flag = "空";
|
|
|
+ if (null!=disclose.getAdministrationType()){
|
|
|
+ if (disclose.getAdministrationType().contains("民事政处")||disclose.getAdministrationType().contains("农村政处")){
|
|
|
+ flag = "民事农村";
|
|
|
+ } else if (disclose.getAdministrationType().contains("行政政处(城区道路)")) {
|
|
|
+ flag = "行政";
|
|
|
+ } else {
|
|
|
+ flag = "空";
|
|
|
+ }
|
|
|
+ }
|
|
|
+// if (null!)
|
|
|
+ return flag;
|
|
|
+ }
|
|
|
+
|
|
|
}
|