调解系统整理
This commit is contained in:
+3
-3
@@ -10,7 +10,7 @@
|
||||
<result column="fatch_rule_id" property="fatchRuleId" />
|
||||
</resultMap>
|
||||
|
||||
<select id="selectTemplateFatchRulecount" parameterType="TemplateFatchRule" resultType="Integer">
|
||||
<select id="selectTemplateFatchRulecount" parameterType="com.ruoyi.wisdomarbitrate.domain.vo.template.TemplateFatchRule" resultType="Integer">
|
||||
select count(1) from ms_template_fatch_rule t
|
||||
<where>
|
||||
<if test="templateId != null">
|
||||
@@ -19,7 +19,7 @@
|
||||
</where>
|
||||
</select>
|
||||
|
||||
<select id="selectTemplateFatchRuleList" parameterType="TemplateFatchRule" resultMap="BaseResultMap">
|
||||
<select id="selectTemplateFatchRuleList" parameterType="com.ruoyi.wisdomarbitrate.domain.vo.template.TemplateFatchRule" resultMap="BaseResultMap">
|
||||
SELECT t.id ,t.template_id ,t.fatch_rule_id
|
||||
from ms_template_fatch_rule t
|
||||
<where>
|
||||
@@ -35,7 +35,7 @@
|
||||
delete from ms_template_fatch_rule where template_id=#{id}
|
||||
</delete>
|
||||
|
||||
<insert id="insertTemplateFatchRule" parameterType="TemplateFatchRule" useGeneratedKeys="true" keyProperty="id">
|
||||
<insert id="insertTemplateFatchRule" parameterType="com.ruoyi.wisdomarbitrate.domain.vo.template.TemplateFatchRule" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into ms_template_fatch_rule(
|
||||
<if test="templateId != null">template_id,</if>
|
||||
<if test="fatchRuleId != null">fatch_rule_id</if>
|
||||
|
||||
Reference in New Issue
Block a user