前后端联调
This commit is contained in:
+9
-2
@@ -49,7 +49,7 @@
|
||||
where case_appli_id =#{id}
|
||||
</select>
|
||||
|
||||
<select id="getCaseAttachByCaseIdAndType" resultType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" resultMap="CaseAttachResult">
|
||||
<select id="listCaseAttachByCaseIdAndType" resultType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" resultMap="CaseAttachResult">
|
||||
select annex_id,case_appli_id,annex_name,annex_path,annex_type,note,use_id,use_account
|
||||
from ms_case_attach
|
||||
<where>
|
||||
@@ -102,7 +102,15 @@
|
||||
case_appli_id= #{caseAppliId}
|
||||
where annex_id = #{annexId}
|
||||
</update>
|
||||
<update id="batchUpdate">
|
||||
<foreach collection="list" item="item" >
|
||||
update ms_case_attach
|
||||
set
|
||||
case_appli_id= #{item.caseAppliId}
|
||||
|
||||
where annex_id = #{item.annexId};
|
||||
</foreach>
|
||||
</update>
|
||||
<update id="updateCaseAttachBycaseid" parameterType="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCaseAttach" >
|
||||
update ms_case_attach
|
||||
<set>
|
||||
@@ -120,5 +128,4 @@
|
||||
</update>
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
+17
@@ -0,0 +1,17 @@
|
||||
<?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="com.ruoyi.wisdomarbitrate.mapper.mscase.MsCasePaymentRecordMapper">
|
||||
<resultMap id="BaseResultMap" type="com.ruoyi.wisdomarbitrate.domain.entity.mscase.MsCasePaymentRecord">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="case_id" jdbcType="BIGINT" property="caseId" />
|
||||
<result column="order_number" jdbcType="VARCHAR" property="orderNumber" />
|
||||
<result column="payment_time" jdbcType="TIMESTAMP" property="paymentTime" />
|
||||
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="payment_status" jdbcType="INTEGER" property="paymentStatus" />
|
||||
<result column="pay_type" jdbcType="INTEGER" property="payType" />
|
||||
</resultMap>
|
||||
</mapper>
|
||||
+3
-3
@@ -19,7 +19,7 @@
|
||||
</resultMap>
|
||||
<insert id="saveSmsSendRecord" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SmsSendRecord" useGeneratedKeys="true" keyProperty="id">
|
||||
|
||||
insert into sms_send_record(
|
||||
insert into ms_sms_send_record(
|
||||
<if test="caseId != null ">case_appli_id,</if>
|
||||
<if test="caseNum != null ">case_num,</if>
|
||||
<if test="phone != null and phone != ''">phone,</if>
|
||||
@@ -41,7 +41,7 @@
|
||||
</insert>
|
||||
<insert id="batchSaveSmsSendRecord">
|
||||
|
||||
insert into sms_send_record(
|
||||
insert into ms_sms_send_record(
|
||||
case_appli_id,
|
||||
case_num,
|
||||
phone,
|
||||
@@ -68,7 +68,7 @@
|
||||
<select id="getSmsSendRecord" parameterType="com.ruoyi.wisdomarbitrate.domain.dto.sendrecord.SmsSendRecord" resultMap="SmsSendRecordResult">
|
||||
|
||||
select id ,case_appli_id ,case_num ,phone ,send_time ,send_content,send_status
|
||||
from sms_send_record
|
||||
from ms_sms_send_record
|
||||
<where>
|
||||
<if test="caseNum != null and caseNum != ''">
|
||||
AND case_num = #{caseNum}
|
||||
|
||||
+3
@@ -82,4 +82,7 @@
|
||||
ORDER BY create_time DESC
|
||||
</select>
|
||||
|
||||
<select id="selectById" resultMap="TemplateManageResult">
|
||||
select * from ms_template_manage where id=#{id}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user