Commit 9a32b4a8 authored by huyuchen's avatar huyuchen

优化修改

parent 94a18da4
......@@ -407,7 +407,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
if (contractCount > CommonConstants.ZERO_INT){
errorTemp.append("合同可用或在途、");
}
if (Common.isNotNull(errorTemp)){
if (Common.isNotNull(errorTemp.toString())){
return R.failed(errorTemp.substring(0,errorTemp.length()-1) +",禁止减项");
}
tEmployeeProject.setProjectStatus(CommonConstants.dingleDigitIntArray[1]);
......
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