Antiloveg 8 years ago
parent
commit
122b8fd030

+ 1 - 0
src/main/java/com/goafanti/contract/service/impl/ContractServiceImpl.java

@@ -213,6 +213,7 @@ public class ContractServiceImpl extends BaseMybatisDao<ContractMapper> implemen
 		contractMapper.updateByPrimaryKeySelective(c);
 		
 		ContractLog l = new ContractLog();
+		l.setId(UUID.randomUUID().toString());
 		l.setCid(c.getId());
 		l.setComment(c.getComment());
 		l.setOperator(TokenManager.getAdminId());