Commit 87c09dfc authored by hongguangwu's avatar hongguangwu

MVP1.7.0 优化

parent 651a8671
......@@ -3013,7 +3013,7 @@ public class TPreEmpMainServiceImpl extends ServiceImpl<TPreEmpMainMapper, TPreE
errorInfo.append("格式不正确:").append(errorFormat);
}
detail.setErrorInfo(errorInfo.toString());
if (curVo != null || Common.isNotNull(errorInfo)) {
if (curVo != null || errorInfo.length()>0) {
detail.setIsMain(false);
} else {
detail.setIsMain(true);
......
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