JNBusinessTest/ruoyi-system/target/classes/mapper/technicalConfirm/QuotJsqrMapper.xml

327 lines
26 KiB
XML
Raw Normal View History

2024-06-24 16:57:12 +08:00
<?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.technicalConfirm.mapper.QuotJsqrMapper">
<resultMap type="QuotJsqr" id="QuotJsqrResult">
<result property="quotJsqrId" column="quot_jsqr_id" />
<result property="quotJsqrCode" column="quot_jsqr_code" />
<result property="quotJsqrTlApprovalStatus" column="quot_jsqr_tl_approval_status" />
<result property="quotJsqrTlOperateUserName" column="quot_jsqr_tl_operate_user_name" />
<result property="quotJsqrTlOperateState" column="quot_jsqr_tl_operate_state" />
<result property="quotJsqrTlOperateTime" column="quot_jsqr_tl_operate_time" />
<result property="quotJsqrTlRemark" column="quot_jsqr_tl_remark" />
<result property="quotJsqrTlCheckUserName" column="quot_jsqr_tl_check_user_name" />
<result property="quotJsqrTlCheckState" column="quot_jsqr_tl_check_state" />
<result property="quotJsqrTlCheckTime" column="quot_jsqr_tl_check_time" />
<result property="quotJsqrTlCheckRemark" column="quot_jsqr_tl_check_remark" />
<result property="quotJsqrTlLeaderUserName" column="quot_jsqr_tl_leader_user_name" />
<result property="quotJsqrTlLeaderState" column="quot_jsqr_tl_leader_state" />
<result property="quotJsqrTlLeaderTime" column="quot_jsqr_tl_leader_time" />
<result property="quotJsqrTlLeaderRemark" column="quot_jsqr_tl_leader_remark" />
<result property="quotJsqrDyApprovalStatus" column="quot_jsqr_dy_approval_status" />
<result property="quotJsqrDyOperateUserName" column="quot_jsqr_dy_operate_user_name" />
<result property="quotJsqrDyOperateState" column="quot_jsqr_dy_operate_state" />
<result property="quotJsqrDyOperateTime" column="quot_jsqr_dy_operate_time" />
<result property="quotJsqrDyRemark" column="quot_jsqr_dy_remark" />
<result property="quotJsqrDyCheckUserName" column="quot_jsqr_dy_check_user_name" />
<result property="quotJsqrDyCheckState" column="quot_jsqr_dy_check_state" />
<result property="quotJsqrDyCheckTime" column="quot_jsqr_dy_check_time" />
<result property="quotJsqrDyCheckRemark" column="quot_jsqr_dy_check_remark" />
<result property="quotJsqrDyLeaderUserName" column="quot_jsqr_dy_leader_user_name" />
<result property="quotJsqrDyLeaderState" column="quot_jsqr_dy_leader_state" />
<result property="quotJsqrDyLeaderTime" column="quot_jsqr_dy_leader_time" />
<result property="quotJsqrDyLeaderRemark" column="quot_jsqr_dy_leader_remark" />
<result property="quotJsqrZyApprovalStatus" column="quot_jsqr_zy_approval_status" />
<result property="quotJsqrZyOperateUserName" column="quot_jsqr_zy_operate_user_name" />
<result property="quotJsqrZyOperateState" column="quot_jsqr_zy_operate_state" />
<result property="quotJsqrZyOperateTime" column="quot_jsqr_zy_operate_time" />
<result property="quotJsqrZyRemark" column="quot_jsqr_zy_remark" />
<result property="quotJsqrZyCheckUserName" column="quot_jsqr_zy_check_user_name" />
<result property="quotJsqrZyCheckState" column="quot_jsqr_zy_check_state" />
<result property="quotJsqrZyCheckTime" column="quot_jsqr_zy_check_time" />
<result property="quotJsqrZyCheckRemark" column="quot_jsqr_zy_check_remark" />
<result property="quotJsqrZyLeaderUserName" column="quot_jsqr_zy_leader_user_name" />
<result property="quotJsqrZyLeaderState" column="quot_jsqr_zy_leader_state" />
<result property="quotJsqrZyLeaderTime" column="quot_jsqr_zy_leader_time" />
<result property="quotJsqrZyLeaderRemark" column="quot_jsqr_zy_leader_remark" />
<result property="quotJsqrQtApprovalStatus" column="quot_jsqr_qt_approval_status" />
<result property="quotJsqrQtOperateUserName" column="quot_jsqr_qt_operate_user_name" />
<result property="quotJsqrQtOperateState" column="quot_jsqr_qt_operate_state" />
<result property="quotJsqrQtOperateTime" column="quot_jsqr_qt_operate_time" />
<result property="quotJsqrQtRemark" column="quot_jsqr_qt_remark" />
<result property="quotJsqrQtCheckUserName" column="quot_jsqr_qt_check_user_name" />
<result property="quotJsqrQtCheckState" column="quot_jsqr_qt_check_state" />
<result property="quotJsqrQtCheckTime" column="quot_jsqr_qt_check_time" />
<result property="quotJsqrQtCheckRemark" column="quot_jsqr_qt_check_remark" />
<result property="quotJsqrQtLeaderUserName" column="quot_jsqr_qt_leader_user_name" />
<result property="quotJsqrQtLeaderState" column="quot_jsqr_qt_leader_state" />
<result property="quotJsqrQtLeaderTime" column="quot_jsqr_qt_leader_time" />
<result property="quotJsqrQtLeaderRemark" column="quot_jsqr_qt_leader_remark" />
<result property="createBy" column="create_by" />
<result property="createName" column="create_name" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="quotId" column="quot_id" />
<result property="quotCode" column="quot_code" />
<result property="quotSalesmanName" column="quot_salesman_name" />
<result property="quotCustomerName" column="quot_customer_name" />
<result property="quotProject" column="quot_project" />
<result property="quotJsxzApprovalStatus" column="quot_jsxz_approval_status" />
<result property="quotJsxzGroupValues" column="quot_jsxz_group_values" />
<result property="quotJsxzStandard" column="quot_jsxz_standard" />
<result property="quotJsxzChapter" column="quot_jsxz_chapter" />
<result property="quotJsxzTechnicalRequirement" column="quot_jsxz_technical_requirement" />
</resultMap>
<sql id="quotJsqrJoins">
left join sys_user u on u.user_name=a.create_by
left join sys_dept d on u.dept_id = d.dept_id
left join quot q on q.quot_jsxz_confirm_id = a.quot_jsqr_id
</sql>
<sql id="selectQuotJsqrVo">
select a.quot_jsqr_id, a.quot_jsqr_code, a.quot_jsqr_tl_approval_status, a.quot_jsqr_tl_operate_user_name,
a.quot_jsqr_tl_operate_state, a.quot_jsqr_tl_operate_time, a.quot_jsqr_tl_remark, a.quot_jsqr_tl_check_user_name,
a.quot_jsqr_tl_check_state, a.quot_jsqr_tl_check_time, a.quot_jsqr_tl_check_remark, a.quot_jsqr_tl_leader_user_name,
a.quot_jsqr_tl_leader_state, a.quot_jsqr_tl_leader_time, a.quot_jsqr_tl_leader_remark, a.quot_jsqr_dy_approval_status,
a.quot_jsqr_dy_operate_user_name, a.quot_jsqr_dy_operate_state, a.quot_jsqr_dy_operate_time, a.quot_jsqr_dy_remark,
a.quot_jsqr_dy_check_user_name, a.quot_jsqr_dy_check_state, a.quot_jsqr_dy_check_time, a.quot_jsqr_dy_check_remark,
a.quot_jsqr_dy_leader_user_name, a.quot_jsqr_dy_leader_state, a.quot_jsqr_dy_leader_time, a.quot_jsqr_dy_leader_remark,
a.quot_jsqr_zy_approval_status, a.quot_jsqr_zy_operate_user_name, a.quot_jsqr_zy_operate_state, a.quot_jsqr_zy_operate_time,
a.quot_jsqr_zy_remark, a.quot_jsqr_zy_check_user_name, a.quot_jsqr_zy_check_state, a.quot_jsqr_zy_check_time,
a.quot_jsqr_zy_check_remark, a.quot_jsqr_zy_leader_user_name, a.quot_jsqr_zy_leader_state, a.quot_jsqr_zy_leader_time,
a.quot_jsqr_zy_leader_remark, a.quot_jsqr_qt_approval_status, a.quot_jsqr_qt_operate_user_name, a.quot_jsqr_qt_operate_state,
a.quot_jsqr_qt_operate_time, a.quot_jsqr_qt_remark, a.quot_jsqr_qt_check_user_name, a.quot_jsqr_qt_check_state,
a.quot_jsqr_qt_check_time, a.quot_jsqr_qt_check_remark, a.quot_jsqr_qt_leader_user_name, a.quot_jsqr_qt_leader_state,
a.quot_jsqr_qt_leader_time, a.quot_jsqr_qt_leader_remark, a.create_by, a.create_time, a.update_by, a.update_time,
u.nick_name create_name,q.quot_id,q.quot_code,q.quot_salesman_name,q.quot_customer_name,q.quot_project,
q.quot_jsxz_approval_status,q.quot_jsxz_group_values,q.quot_jsxz_standard,q.quot_jsxz_chapter,q.quot_jsxz_technical_requirement
from quot_jsqr a
<include refid="quotJsqrJoins"/>
</sql>
<select id="selectQuotJsqrList" parameterType="QuotJsqr" resultMap="QuotJsqrResult">
<include refid="selectQuotJsqrVo"/>
<where>
<if test="quotJsqrCode != null and quotJsqrCode != ''"> and quot_jsqr_code like concat('%', #{quotJsqrCode}, '%')</if>
<if test="quotJsxzApprovalStatus != null and quotJsxzApprovalStatus != ''"> and q.quot_jsxz_approval_status = #{quotJsxzApprovalStatus}</if>
<if test="quotCode != null and quotCode != ''"> and q.quot_code like concat('%', #{quotCode}, '%')</if>
<if test="quotSalesmanName != null and quotSalesmanName != ''"> and q.quot_salesman_name like concat('%', #{quotSalesmanName}, '%')</if>
<if test="quotCustomerName != null and quotCustomerName != ''"> and q.quot_customer_name like concat('%', #{quotCustomerName}, '%')</if>
<if test="quotProject != null and quotProject != ''"> and q.quot_project like concat('%', #{quotProject}, '%')</if>
<!-- 数据范围过滤 -->
<!--${params.dataScope}-->
</where>
order by a.quot_jsqr_code desc
</select>
<select id="selectQuotJsqrByQuotJsqrId" parameterType="String" resultMap="QuotJsqrResult">
<include refid="selectQuotJsqrVo"/>
where quot_jsqr_id = #{quotJsqrId}
</select>
<insert id="insertQuotJsqr" parameterType="QuotJsqr">
insert into quot_jsqr
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="quotJsqrId != null">quot_jsqr_id,</if>
<if test="quotJsqrCode != null">quot_jsqr_code,</if>
<if test="quotJsqrTlApprovalStatus != null">quot_jsqr_tl_approval_status,</if>
<if test="quotJsqrTlOperateUserName != null">quot_jsqr_tl_operate_user_name,</if>
<if test="quotJsqrTlOperateState != null">quot_jsqr_tl_operate_state,</if>
<if test="quotJsqrTlOperateTime != null">quot_jsqr_tl_operate_time,</if>
<if test="quotJsqrTlRemark != null">quot_jsqr_tl_remark,</if>
<if test="quotJsqrTlCheckUserName != null">quot_jsqr_tl_check_user_name,</if>
<if test="quotJsqrTlCheckState != null">quot_jsqr_tl_check_state,</if>
<if test="quotJsqrTlCheckTime != null">quot_jsqr_tl_check_time,</if>
<if test="quotJsqrTlCheckRemark != null">quot_jsqr_tl_check_remark,</if>
<if test="quotJsqrTlLeaderUserName != null">quot_jsqr_tl_leader_user_name,</if>
<if test="quotJsqrTlLeaderState != null">quot_jsqr_tl_leader_state,</if>
<if test="quotJsqrTlLeaderTime != null">quot_jsqr_tl_leader_time,</if>
<if test="quotJsqrTlLeaderRemark != null">quot_jsqr_tl_leader_remark,</if>
<if test="quotJsqrDyApprovalStatus != null">quot_jsqr_dy_approval_status,</if>
<if test="quotJsqrDyOperateUserName != null">quot_jsqr_dy_operate_user_name,</if>
<if test="quotJsqrDyOperateState != null">quot_jsqr_dy_operate_state,</if>
<if test="quotJsqrDyOperateTime != null">quot_jsqr_dy_operate_time,</if>
<if test="quotJsqrDyRemark != null">quot_jsqr_dy_remark,</if>
<if test="quotJsqrDyCheckUserName != null">quot_jsqr_dy_check_user_name,</if>
<if test="quotJsqrDyCheckState != null">quot_jsqr_dy_check_state,</if>
<if test="quotJsqrDyCheckTime != null">quot_jsqr_dy_check_time,</if>
<if test="quotJsqrDyCheckRemark != null">quot_jsqr_dy_check_remark,</if>
<if test="quotJsqrDyLeaderUserName != null">quot_jsqr_dy_leader_user_name,</if>
<if test="quotJsqrDyLeaderState != null">quot_jsqr_dy_leader_state,</if>
<if test="quotJsqrDyLeaderTime != null">quot_jsqr_dy_leader_time,</if>
<if test="quotJsqrDyLeaderRemark != null">quot_jsqr_dy_leader_remark,</if>
<if test="quotJsqrZyApprovalStatus != null">quot_jsqr_zy_approval_status,</if>
<if test="quotJsqrZyOperateUserName != null">quot_jsqr_zy_operate_user_name,</if>
<if test="quotJsqrZyOperateState != null">quot_jsqr_zy_operate_state,</if>
<if test="quotJsqrZyOperateTime != null">quot_jsqr_zy_operate_time,</if>
<if test="quotJsqrZyRemark != null">quot_jsqr_zy_remark,</if>
<if test="quotJsqrZyCheckUserName != null">quot_jsqr_zy_check_user_name,</if>
<if test="quotJsqrZyCheckState != null">quot_jsqr_zy_check_state,</if>
<if test="quotJsqrZyCheckTime != null">quot_jsqr_zy_check_time,</if>
<if test="quotJsqrZyCheckRemark != null">quot_jsqr_zy_check_remark,</if>
<if test="quotJsqrZyLeaderUserName != null">quot_jsqr_zy_leader_user_name,</if>
<if test="quotJsqrZyLeaderState != null">quot_jsqr_zy_leader_state,</if>
<if test="quotJsqrZyLeaderTime != null">quot_jsqr_zy_leader_time,</if>
<if test="quotJsqrZyLeaderRemark != null">quot_jsqr_zy_leader_remark,</if>
<if test="quotJsqrQtApprovalStatus != null">quot_jsqr_qt_approval_status,</if>
<if test="quotJsqrQtOperateUserName != null">quot_jsqr_qt_operate_user_name,</if>
<if test="quotJsqrQtOperateState != null">quot_jsqr_qt_operate_state,</if>
<if test="quotJsqrQtOperateTime != null">quot_jsqr_qt_operate_time,</if>
<if test="quotJsqrQtRemark != null">quot_jsqr_qt_remark,</if>
<if test="quotJsqrQtCheckUserName != null">quot_jsqr_qt_check_user_name,</if>
<if test="quotJsqrQtCheckState != null">quot_jsqr_qt_check_state,</if>
<if test="quotJsqrQtCheckTime != null">quot_jsqr_qt_check_time,</if>
<if test="quotJsqrQtCheckRemark != null">quot_jsqr_qt_check_remark,</if>
<if test="quotJsqrQtLeaderUserName != null">quot_jsqr_qt_leader_user_name,</if>
<if test="quotJsqrQtLeaderState != null">quot_jsqr_qt_leader_state,</if>
<if test="quotJsqrQtLeaderTime != null">quot_jsqr_qt_leader_time,</if>
<if test="quotJsqrQtLeaderRemark != null">quot_jsqr_qt_leader_remark,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="quotJsqrId != null">#{quotJsqrId},</if>
<if test="quotJsqrCode != null">#{quotJsqrCode},</if>
<if test="quotJsqrTlApprovalStatus != null">#{quotJsqrTlApprovalStatus},</if>
<if test="quotJsqrTlOperateUserName != null">#{quotJsqrTlOperateUserName},</if>
<if test="quotJsqrTlOperateState != null">#{quotJsqrTlOperateState},</if>
<if test="quotJsqrTlOperateTime != null">#{quotJsqrTlOperateTime},</if>
<if test="quotJsqrTlRemark != null">#{quotJsqrTlRemark},</if>
<if test="quotJsqrTlCheckUserName != null">#{quotJsqrTlCheckUserName},</if>
<if test="quotJsqrTlCheckState != null">#{quotJsqrTlCheckState},</if>
<if test="quotJsqrTlCheckTime != null">#{quotJsqrTlCheckTime},</if>
<if test="quotJsqrTlCheckRemark != null">#{quotJsqrTlCheckRemark},</if>
<if test="quotJsqrTlLeaderUserName != null">#{quotJsqrTlLeaderUserName},</if>
<if test="quotJsqrTlLeaderState != null">#{quotJsqrTlLeaderState},</if>
<if test="quotJsqrTlLeaderTime != null">#{quotJsqrTlLeaderTime},</if>
<if test="quotJsqrTlLeaderRemark != null">#{quotJsqrTlLeaderRemark},</if>
<if test="quotJsqrDyApprovalStatus != null">#{quotJsqrDyApprovalStatus},</if>
<if test="quotJsqrDyOperateUserName != null">#{quotJsqrDyOperateUserName},</if>
<if test="quotJsqrDyOperateState != null">#{quotJsqrDyOperateState},</if>
<if test="quotJsqrDyOperateTime != null">#{quotJsqrDyOperateTime},</if>
<if test="quotJsqrDyRemark != null">#{quotJsqrDyRemark},</if>
<if test="quotJsqrDyCheckUserName != null">#{quotJsqrDyCheckUserName},</if>
<if test="quotJsqrDyCheckState != null">#{quotJsqrDyCheckState},</if>
<if test="quotJsqrDyCheckTime != null">#{quotJsqrDyCheckTime},</if>
<if test="quotJsqrDyCheckRemark != null">#{quotJsqrDyCheckRemark},</if>
<if test="quotJsqrDyLeaderUserName != null">#{quotJsqrDyLeaderUserName},</if>
<if test="quotJsqrDyLeaderState != null">#{quotJsqrDyLeaderState},</if>
<if test="quotJsqrDyLeaderTime != null">#{quotJsqrDyLeaderTime},</if>
<if test="quotJsqrDyLeaderRemark != null">#{quotJsqrDyLeaderRemark},</if>
<if test="quotJsqrZyApprovalStatus != null">#{quotJsqrZyApprovalStatus},</if>
<if test="quotJsqrZyOperateUserName != null">#{quotJsqrZyOperateUserName},</if>
<if test="quotJsqrZyOperateState != null">#{quotJsqrZyOperateState},</if>
<if test="quotJsqrZyOperateTime != null">#{quotJsqrZyOperateTime},</if>
<if test="quotJsqrZyRemark != null">#{quotJsqrZyRemark},</if>
<if test="quotJsqrZyCheckUserName != null">#{quotJsqrZyCheckUserName},</if>
<if test="quotJsqrZyCheckState != null">#{quotJsqrZyCheckState},</if>
<if test="quotJsqrZyCheckTime != null">#{quotJsqrZyCheckTime},</if>
<if test="quotJsqrZyCheckRemark != null">#{quotJsqrZyCheckRemark},</if>
<if test="quotJsqrZyLeaderUserName != null">#{quotJsqrZyLeaderUserName},</if>
<if test="quotJsqrZyLeaderState != null">#{quotJsqrZyLeaderState},</if>
<if test="quotJsqrZyLeaderTime != null">#{quotJsqrZyLeaderTime},</if>
<if test="quotJsqrZyLeaderRemark != null">#{quotJsqrZyLeaderRemark},</if>
<if test="quotJsqrQtApprovalStatus != null">#{quotJsqrQtApprovalStatus},</if>
<if test="quotJsqrQtOperateUserName != null">#{quotJsqrQtOperateUserName},</if>
<if test="quotJsqrQtOperateState != null">#{quotJsqrQtOperateState},</if>
<if test="quotJsqrQtOperateTime != null">#{quotJsqrQtOperateTime},</if>
<if test="quotJsqrQtRemark != null">#{quotJsqrQtRemark},</if>
<if test="quotJsqrQtCheckUserName != null">#{quotJsqrQtCheckUserName},</if>
<if test="quotJsqrQtCheckState != null">#{quotJsqrQtCheckState},</if>
<if test="quotJsqrQtCheckTime != null">#{quotJsqrQtCheckTime},</if>
<if test="quotJsqrQtCheckRemark != null">#{quotJsqrQtCheckRemark},</if>
<if test="quotJsqrQtLeaderUserName != null">#{quotJsqrQtLeaderUserName},</if>
<if test="quotJsqrQtLeaderState != null">#{quotJsqrQtLeaderState},</if>
<if test="quotJsqrQtLeaderTime != null">#{quotJsqrQtLeaderTime},</if>
<if test="quotJsqrQtLeaderRemark != null">#{quotJsqrQtLeaderRemark},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
</trim>
</insert>
<update id="updateQuotJsqr" parameterType="QuotJsqr">
update quot_jsqr
<trim prefix="SET" suffixOverrides=",">
<if test="quotJsqrCode != null">quot_jsqr_code = #{quotJsqrCode},</if>
<if test="quotJsqrTlApprovalStatus != null">quot_jsqr_tl_approval_status = #{quotJsqrTlApprovalStatus},</if>
<if test="quotJsqrTlOperateUserName != null">quot_jsqr_tl_operate_user_name = #{quotJsqrTlOperateUserName},</if>
<if test="quotJsqrTlOperateState != null">quot_jsqr_tl_operate_state = #{quotJsqrTlOperateState},</if>
<if test="quotJsqrTlOperateTime != null">quot_jsqr_tl_operate_time = #{quotJsqrTlOperateTime},</if>
<if test="quotJsqrTlRemark != null">quot_jsqr_tl_remark = #{quotJsqrTlRemark},</if>
<if test="quotJsqrTlCheckUserName != null">quot_jsqr_tl_check_user_name = #{quotJsqrTlCheckUserName},</if>
<if test="quotJsqrTlCheckState != null">quot_jsqr_tl_check_state = #{quotJsqrTlCheckState},</if>
<if test="quotJsqrTlCheckTime != null">quot_jsqr_tl_check_time = #{quotJsqrTlCheckTime},</if>
<if test="quotJsqrTlCheckRemark != null">quot_jsqr_tl_check_remark = #{quotJsqrTlCheckRemark},</if>
<if test="quotJsqrTlLeaderUserName != null">quot_jsqr_tl_leader_user_name = #{quotJsqrTlLeaderUserName},</if>
<if test="quotJsqrTlLeaderState != null">quot_jsqr_tl_leader_state = #{quotJsqrTlLeaderState},</if>
<if test="quotJsqrTlLeaderTime != null">quot_jsqr_tl_leader_time = #{quotJsqrTlLeaderTime},</if>
<if test="quotJsqrTlLeaderRemark != null">quot_jsqr_tl_leader_remark = #{quotJsqrTlLeaderRemark},</if>
<if test="quotJsqrDyApprovalStatus != null">quot_jsqr_dy_approval_status = #{quotJsqrDyApprovalStatus},</if>
<if test="quotJsqrDyOperateUserName != null">quot_jsqr_dy_operate_user_name = #{quotJsqrDyOperateUserName},</if>
<if test="quotJsqrDyOperateState != null">quot_jsqr_dy_operate_state = #{quotJsqrDyOperateState},</if>
<if test="quotJsqrDyOperateTime != null">quot_jsqr_dy_operate_time = #{quotJsqrDyOperateTime},</if>
<if test="quotJsqrDyRemark != null">quot_jsqr_dy_remark = #{quotJsqrDyRemark},</if>
<if test="quotJsqrDyCheckUserName != null">quot_jsqr_dy_check_user_name = #{quotJsqrDyCheckUserName},</if>
<if test="quotJsqrDyCheckState != null">quot_jsqr_dy_check_state = #{quotJsqrDyCheckState},</if>
<if test="quotJsqrDyCheckTime != null">quot_jsqr_dy_check_time = #{quotJsqrDyCheckTime},</if>
<if test="quotJsqrDyCheckRemark != null">quot_jsqr_dy_check_remark = #{quotJsqrDyCheckRemark},</if>
<if test="quotJsqrDyLeaderUserName != null">quot_jsqr_dy_leader_user_name = #{quotJsqrDyLeaderUserName},</if>
<if test="quotJsqrDyLeaderState != null">quot_jsqr_dy_leader_state = #{quotJsqrDyLeaderState},</if>
<if test="quotJsqrDyLeaderTime != null">quot_jsqr_dy_leader_time = #{quotJsqrDyLeaderTime},</if>
<if test="quotJsqrDyLeaderRemark != null">quot_jsqr_dy_leader_remark = #{quotJsqrDyLeaderRemark},</if>
<if test="quotJsqrZyApprovalStatus != null">quot_jsqr_zy_approval_status = #{quotJsqrZyApprovalStatus},</if>
<if test="quotJsqrZyOperateUserName != null">quot_jsqr_zy_operate_user_name = #{quotJsqrZyOperateUserName},</if>
<if test="quotJsqrZyOperateState != null">quot_jsqr_zy_operate_state = #{quotJsqrZyOperateState},</if>
<if test="quotJsqrZyOperateTime != null">quot_jsqr_zy_operate_time = #{quotJsqrZyOperateTime},</if>
<if test="quotJsqrZyRemark != null">quot_jsqr_zy_remark = #{quotJsqrZyRemark},</if>
<if test="quotJsqrZyCheckUserName != null">quot_jsqr_zy_check_user_name = #{quotJsqrZyCheckUserName},</if>
<if test="quotJsqrZyCheckState != null">quot_jsqr_zy_check_state = #{quotJsqrZyCheckState},</if>
<if test="quotJsqrZyCheckTime != null">quot_jsqr_zy_check_time = #{quotJsqrZyCheckTime},</if>
<if test="quotJsqrZyCheckRemark != null">quot_jsqr_zy_check_remark = #{quotJsqrZyCheckRemark},</if>
<if test="quotJsqrZyLeaderUserName != null">quot_jsqr_zy_leader_user_name = #{quotJsqrZyLeaderUserName},</if>
<if test="quotJsqrZyLeaderState != null">quot_jsqr_zy_leader_state = #{quotJsqrZyLeaderState},</if>
<if test="quotJsqrZyLeaderTime != null">quot_jsqr_zy_leader_time = #{quotJsqrZyLeaderTime},</if>
<if test="quotJsqrZyLeaderRemark != null">quot_jsqr_zy_leader_remark = #{quotJsqrZyLeaderRemark},</if>
<if test="quotJsqrQtApprovalStatus != null">quot_jsqr_qt_approval_status = #{quotJsqrQtApprovalStatus},</if>
<if test="quotJsqrQtOperateUserName != null">quot_jsqr_qt_operate_user_name = #{quotJsqrQtOperateUserName},</if>
<if test="quotJsqrQtOperateState != null">quot_jsqr_qt_operate_state = #{quotJsqrQtOperateState},</if>
<if test="quotJsqrQtOperateTime != null">quot_jsqr_qt_operate_time = #{quotJsqrQtOperateTime},</if>
<if test="quotJsqrQtRemark != null">quot_jsqr_qt_remark = #{quotJsqrQtRemark},</if>
<if test="quotJsqrQtCheckUserName != null">quot_jsqr_qt_check_user_name = #{quotJsqrQtCheckUserName},</if>
<if test="quotJsqrQtCheckState != null">quot_jsqr_qt_check_state = #{quotJsqrQtCheckState},</if>
<if test="quotJsqrQtCheckTime != null">quot_jsqr_qt_check_time = #{quotJsqrQtCheckTime},</if>
<if test="quotJsqrQtCheckRemark != null">quot_jsqr_qt_check_remark = #{quotJsqrQtCheckRemark},</if>
<if test="quotJsqrQtLeaderUserName != null">quot_jsqr_qt_leader_user_name = #{quotJsqrQtLeaderUserName},</if>
<if test="quotJsqrQtLeaderState != null">quot_jsqr_qt_leader_state = #{quotJsqrQtLeaderState},</if>
<if test="quotJsqrQtLeaderTime != null">quot_jsqr_qt_leader_time = #{quotJsqrQtLeaderTime},</if>
<if test="quotJsqrQtLeaderRemark != null">quot_jsqr_qt_leader_remark = #{quotJsqrQtLeaderRemark},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
</trim>
where quot_jsqr_id = #{quotJsqrId}
</update>
<delete id="deleteQuotJsqrByQuotJsqrId" parameterType="String">
delete from quot_jsqr where quot_jsqr_id = #{quotJsqrId}
</delete>
<delete id="deleteQuotJsqrByQuotJsqrIds" parameterType="String">
delete from quot_jsqr where quot_jsqr_id in
<foreach item="quotJsqrId" collection="array" open="(" separator="," close=")">
#{quotJsqrId}
</foreach>
</delete>
</mapper>