Commit 1ddf1e0c by 杨清松

岗位编辑完善

parent 0ebeb569
...@@ -70,7 +70,7 @@ public class PositionServiceImpl implements PositionService, PositionConstant { ...@@ -70,7 +70,7 @@ public class PositionServiceImpl implements PositionService, PositionConstant {
kObject.set("modifyTime", new Date()); kObject.set("modifyTime", new Date());
kObject.set("modifier", staff); kObject.set("modifier", staff);
kObject.set("name", jsonObject.getString("name")); kObject.set("name", jsonObject.getString("name"));
kObject.set("description", jsonObject.getString("description")); kObject.set("description", jsonObject.isNull("description") ? "" : jsonObject.getString("description"));
positionDao.update(kObject); positionDao.update(kObject);
} }
return ResponseObj.success(); return ResponseObj.success();
......
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