9.14更新后提交
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?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.ArbitratorMapper">
|
||||
<resultMap type="Arbitrator" id="ArbitratorResult">
|
||||
<id property="id" column="id" />
|
||||
<result property="arbitratorName" column="arbitrator_name" />
|
||||
<result property="title" column="title" />
|
||||
<result property="career" column="career" />
|
||||
<result property="professiClassifi" column="professi_classifi" />
|
||||
<result property="education" column="education" />
|
||||
<result property="area" column="area" />
|
||||
<result property="telephone" column="telephone" />
|
||||
<result property="currentCaseNum" column="current_case_num" />
|
||||
<result property="closedCaseNum" column="closed_case_num" />
|
||||
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="selectArbitratorList" parameterType="Arbitrator" resultMap="ArbitratorResult">
|
||||
select a.id ,a.arbitrator_name ,a.title ,a.career ,a.professi_classifi ,
|
||||
a.education ,a.area ,a.telephone ,a.current_case_num ,a.closed_case_num
|
||||
from arbitrator a
|
||||
<where>
|
||||
<if test="arbitratorName != null and arbitratorName != ''">
|
||||
AND a.arbitrator_name like concat('%', #{arbitratorName}, '%')
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
@@ -135,7 +135,10 @@
|
||||
<update id="submitCaseApplication" parameterType="CaseApplication">
|
||||
update case_application
|
||||
<set>
|
||||
<if test="caseStatus != null">case_status = #{caseStatus}</if>
|
||||
<if test="caseStatus != null">case_status = #{caseStatus},</if>
|
||||
<if test="arbitratorId != null and arbitratorId != ''">arbitrator_id = #{arbitratorId},</if>
|
||||
<if test="arbitratorName != null and arbitratorName != ''">arbitrator_name = #{arbitratorName},</if>
|
||||
<if test="pendingAppointArbotrar != null ">pending_appoint_arbotrar = #{pendingAppointArbotrar},</if>
|
||||
</set>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
<?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.IdentityAuthenticationMapper">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user