| | |
| | | private int addOrUpdateByGuid(TbAttResProjectUtilize oldAbAttResBase,TbAttResProjectUtilize tbAttResProjectUtilize){ |
| | | int i = 0; |
| | | if (null!=oldAbAttResBase){ |
| | | tbAttResProjectUtilize.setGuid(oldAbAttResBase.getGuid()); |
| | | // 更新 |
| | | i = baseMapper.updateById(tbAttResProjectUtilize); |
| | | }else { |
| | |
| | | if (newTbAttResProjectUtilize.getCheckState()==3){ |
| | | fillName = "退回" + (null==newTbAttResProjectUtilize.getCheckLog()?"":":" + newTbAttResProjectUtilize.getCheckLog()); |
| | | } |
| | | // 管理员编辑 |
| | | if (newTbAttResProjectUtilize.getCheckState()==4){ |
| | | fillName = "编辑"; |
| | | newTbAttResProjectUtilize.setCheckState(oldAbAttResBase.getCheckState()); |
| | | } |
| | | |
| | | // 拼接 |
| | | String time = new SimpleDateFormat("yyyy-MM-dd HH:mm").format(new Date()); |