Commit 36f148cb authored by hongguangwu's avatar hongguangwu

MVP1.7.16-法大大

parent a053c811
...@@ -116,7 +116,7 @@ public class TFascTemplateController { ...@@ -116,7 +116,7 @@ public class TFascTemplateController {
if (Common.isEmpty(tFascTemplate.getContractType())) { if (Common.isEmpty(tFascTemplate.getContractType())) {
return R.failed("合同类型不能为空"); return R.failed("合同类型不能为空");
} }
if (Common.isNotNull(old.getContractType()) && !old.getContractType().equals(tFascTemplate.getContractType())) { if (Common.isNotNull(old.getContractType()) && old.getContractType().equals(tFascTemplate.getContractType())) {
return R.failed("合同类型未变更"); return R.failed("合同类型未变更");
} }
old.setContractType(tFascTemplate.getContractType()); old.setContractType(tFascTemplate.getContractType());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment