1. 巡检单配置Bug
This commit is contained in:
parent
e4977022ba
commit
0cbd18453c
|
|
@ -29,6 +29,15 @@ public interface ServiceConstant {
|
|||
* 工单模块消费者组
|
||||
*/
|
||||
String INSPECTION_CONSUMER_GROUP = "inspection_consumer_group";
|
||||
|
||||
/**
|
||||
* 终端 以及 商户信息
|
||||
*/
|
||||
String TERMINAL = "terminal-service";
|
||||
/**
|
||||
* 工单模块消费者组
|
||||
*/
|
||||
String TERMINAL_CONSUMER_GROUP = "terminal_consumer_group";
|
||||
/**
|
||||
* 文件模块消费者组
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -43,8 +43,8 @@ public class MybatisPlusMetaObjectHandler implements MetaObjectHandler {
|
|||
log.debug("mybatis plus start update fill ....");
|
||||
// String userName = SecurityContextHolder.getUserName();
|
||||
String userName = "system";
|
||||
this.strictInsertFill(metaObject, "updateTime", LocalDateTime.class, LocalDateTime.now());
|
||||
this.strictInsertFill(metaObject, "updateBy", String.class, userName);
|
||||
this.strictUpdateFill(metaObject, "updateTime", LocalDateTime.class, LocalDateTime.now());
|
||||
this.strictUpdateFill(metaObject, "updateBy", String.class, userName);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ public class InspectionConfigServiceImpl extends ServiceImpl<InspectionConfigMap
|
|||
@CacheEvict(allEntries = true)
|
||||
@Transactional
|
||||
public void updateByEntityId(InspectionConfig config) {
|
||||
removeById(config);
|
||||
updateById(config);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue