From b0ae9e5d1c8add200ded8957c068223b9703c1e3 Mon Sep 17 00:00:00 2001 From: lixiangyu <lixiangyu@xalxzn.com> Date: 星期三, 27 八月 2025 18:00:09 +0800 Subject: [PATCH] feat(cms): 为 RatedLife 实体添加字典注解- 在 RatedLife 实体的 cuttingId 字段上添加了 @Dict 注解 - 优化了 RatedLifeController 中的代码格式和注释 --- src/main/java/org/jeecg/modules/andon/mapper/xml/AndonResponseConfigMapper.xml | 12 +++++++++--- 1 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/jeecg/modules/andon/mapper/xml/AndonResponseConfigMapper.xml b/src/main/java/org/jeecg/modules/andon/mapper/xml/AndonResponseConfigMapper.xml index 2f95e67..650b483 100644 --- a/src/main/java/org/jeecg/modules/andon/mapper/xml/AndonResponseConfigMapper.xml +++ b/src/main/java/org/jeecg/modules/andon/mapper/xml/AndonResponseConfigMapper.xml @@ -1,7 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.jeecg.modules.andon.mapper.AndonResponseConfigMapper"> - <select id="getAndonResponseConfigByFactoryIdAndButtonId" resultType="org.jeecg.modules.andon.entity.AndonResponseConfig"> - SELECT * FROM andon_response_config WHERE factory_id = #{factoryId} AND button_id = #{buttonId} AND del_flag = 0 + <select id="getAndonResponseConfigByFactoryIdAndButtonId" + resultType="org.jeecg.modules.andon.entity.AndonResponseConfig"> + SELECT * + FROM andon_response_config + WHERE factory_id = #{factoryId} + AND button_id = #{buttonId} + AND del_flag = 0 </select> -</mapper> \ No newline at end of file + +</mapper> -- Gitblit v1.9.3