|
@@ -30,10 +30,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="state" column="state" />
|
|
<result property="state" column="state" />
|
|
<result property="sqRevokeTime" column="sq_revoke_time" />
|
|
<result property="sqRevokeTime" column="sq_revoke_time" />
|
|
<result property="sqRevokeReason" column="sq_revoke_reason" />
|
|
<result property="sqRevokeReason" column="sq_revoke_reason" />
|
|
|
|
+ <result property="fwKey" column="fw_key" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTZymlApplicationRecordVo">
|
|
<sql id="selectTZymlApplicationRecordVo">
|
|
- select id, sq_user_id, sq_user_by, sq_time, sq_department_id, sq_department_by, zyml_id, zyml_by, zyml_type_code, zyml_type_name, sq_fw, sq_reason, system_name, call_ip, deadline, attachment, sq_deadline, sp_user_id, sp_user_by, sp_time, sp_reason,zyml_url, state from t_zyml_application_record
|
|
|
|
|
|
+ select id, sq_user_id, sq_user_by, sq_time, sq_department_id, sq_department_by, zyml_id, zyml_by, zyml_type_code,
|
|
|
|
+ zyml_type_name, sq_fw, sq_reason, system_name, call_ip, deadline, attachment, sq_deadline,
|
|
|
|
+ sp_user_id, sp_user_by, sp_time, sp_reason,zyml_url, state,fw_key,sq_revoke_reason,sq_revoke_time
|
|
|
|
+ from t_zyml_application_record
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<select id="selectTZymlApplicationRecordList" parameterType="TZymlApplicationRecord" resultMap="TZymlApplicationRecordResult">
|
|
<select id="selectTZymlApplicationRecordList" parameterType="TZymlApplicationRecord" resultMap="TZymlApplicationRecordResult">
|
|
@@ -60,6 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="spTime != null "> and sp_time = #{spTime}</if>
|
|
<if test="spTime != null "> and sp_time = #{spTime}</if>
|
|
<if test="spReason != null and spReason != ''"> and sp_reason = #{spReason}</if>
|
|
<if test="spReason != null and spReason != ''"> and sp_reason = #{spReason}</if>
|
|
<if test="state != null "> and state = #{state}</if>
|
|
<if test="state != null "> and state = #{state}</if>
|
|
|
|
+ <if test="fwKey != null "> and fw_key = #{fwKey}</if>
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|
|
@@ -147,6 +152,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="sqRevokeTime != null">sq_revoke_time = #{sqRevokeTime},</if>
|
|
<if test="sqRevokeTime != null">sq_revoke_time = #{sqRevokeTime},</if>
|
|
<if test="sqRevokeReason != null and sqRevokeReason != '' ">sq_revoke_reason = #{sqRevokeReason},</if>
|
|
<if test="sqRevokeReason != null and sqRevokeReason != '' ">sq_revoke_reason = #{sqRevokeReason},</if>
|
|
<if test="zymlUrl != null and zymlUrl != '' ">zyml_url = #{zymlUrl},</if>
|
|
<if test="zymlUrl != null and zymlUrl != '' ">zyml_url = #{zymlUrl},</if>
|
|
|
|
+ <if test="fwKey != null ">fw_key = #{fwKey,}</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|