|
@@ -1453,8 +1453,9 @@ public class ApsProcessOperationServiceImpl extends ServiceImpl<ApsProcessOperat
|
|
|
if (changeZJEquDoList != null && changeZJEquDoList.size() > 0) {
|
|
|
for (ApsProcessOperationEquDo zjequ : changeZJEquDoList) {
|
|
|
String levelStr = "";
|
|
|
- if (!zjequ.getRemark().equals("add")) {
|
|
|
- levelStr = String.format(" and IFNULL(e.ROLLERID,‘%s’)='%s'", zjequ.getRoption() == null ? "" : zjequ.getRoption());
|
|
|
+ if (StringUtils.isNotBlank(zjequ.getRemark()) && !zjequ.getRemark().equals("add")) {
|
|
|
+ String rollerid = zjequ.getRoption() == null ? "" : zjequ.getRoption();
|
|
|
+ levelStr = String.format(" and IFNULL(e.ROLLERID,'%s')='%s'", rollerid, rollerid);
|
|
|
}
|
|
|
apsProcessOperationDao.updateZJProcessEqu(params.getBlankid(), zjequ.getResourceid(), levelStr, zjequ.getRollerid(), zjequ.getRollertype(), params.getLevel());
|
|
|
}
|