1. 巡检单配置Bug

This commit is contained in:
zhaowenyuan 2024-06-21 11:52:40 +08:00
parent e4977022ba
commit 0cbd18453c
3 changed files with 12 additions and 3 deletions

View File

@ -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";
/**
* 文件模块消费者组
*/

View File

@ -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);
}
}

View File

@ -62,7 +62,7 @@ public class InspectionConfigServiceImpl extends ServiceImpl<InspectionConfigMap
@CacheEvict(allEntries = true)
@Transactional
public void updateByEntityId(InspectionConfig config) {
removeById(config);
updateById(config);
}
/**