|
@@ -127,9 +127,9 @@ public class PostMarkingController
|
127
|
127
|
public Object edit(@RequestBody PostMarking postMarking)
|
128
|
128
|
{
|
129
|
129
|
// 审核流程控制
|
130
|
|
-// if (postMarking.getVerificationStatus() !=null && postMarking.getReasonClassification()!=null){
|
131
|
|
-// postMarking.setUnitType(1);
|
132
|
|
-// }
|
|
130
|
+ if (postMarking.getVerificationStatus() !=null && postMarking.getReasonClassification()!=null && postMarking.getUnitType() == 0){
|
|
131
|
+ postMarking.setUnitType(1);
|
|
132
|
+ }
|
133
|
133
|
if (postMarking.getUnitType() == 3 && postMarking.getUnitOpinion()==null){
|
134
|
134
|
return error("请填写驳回原因。");
|
135
|
135
|
}
|