调节系统类整理

This commit is contained in:
18792927508
2024-01-05 11:54:46 +08:00
parent fee63623ad
commit d0c94dc287
105 changed files with 423 additions and 14673 deletions
@@ -11,7 +11,7 @@
</resultMap>
<select id="selectTemplateFatchRulecount" parameterType="TemplateFatchRule" resultType="Integer">
select count(1) from template_fatch_rule t
select count(1) from ms_template_fatch_rule t
<where>
<if test="templateId != null">
AND t.template_id = #{templateId}
@@ -21,7 +21,7 @@
<select id="selectTemplateFatchRuleList" parameterType="TemplateFatchRule" resultMap="BaseResultMap">
SELECT t.id ,t.template_id ,t.fatch_rule_id
from template_fatch_rule t
from ms_template_fatch_rule t
<where>
<if test="templateId != null">
AND t.template_id = #{templateId}
@@ -32,11 +32,11 @@
</select>
<delete id="deleteTemplateFatchRule" parameterType="Long">
delete from template_fatch_rule where template_id=#{id}
delete from ms_template_fatch_rule where template_id=#{id}
</delete>
<insert id="insertTemplateFatchRule" parameterType="TemplateFatchRule" useGeneratedKeys="true" keyProperty="id">
insert into template_fatch_rule(
insert into ms_template_fatch_rule(
<if test="templateId != null">template_id,</if>
<if test="fatchRuleId != null">fatch_rule_id</if>
)values(