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

325 lines
26 KiB
XML
Raw Normal View History

2024-07-24 14:53:01 +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.BidJsqrMapper">
<resultMap type="BidJsqr" id="BidJsqrResult">
<result property="bidJsqrId" column="bid_jsqr_id" />
<result property="bidJsqrCode" column="bid_jsqr_code" />
<result property="bidJsqrTlApprovalStatus" column="bid_jsqr_tl_approval_status" />
<result property="bidJsqrTlOperateUserName" column="bid_jsqr_tl_operate_user_name" />
<result property="bidJsqrTlOperateState" column="bid_jsqr_tl_operate_state" />
<result property="bidJsqrTlOperateTime" column="bid_jsqr_tl_operate_time" />
<result property="bidJsqrTlRemark" column="bid_jsqr_tl_remark" />
<result property="bidJsqrTlCheckUserName" column="bid_jsqr_tl_check_user_name" />
<result property="bidJsqrTlCheckState" column="bid_jsqr_tl_check_state" />
<result property="bidJsqrTlCheckTime" column="bid_jsqr_tl_check_time" />
<result property="bidJsqrTlCheckRemark" column="bid_jsqr_tl_check_remark" />
<result property="bidJsqrTlLeaderUserName" column="bid_jsqr_tl_leader_user_name" />
<result property="bidJsqrTlLeaderState" column="bid_jsqr_tl_leader_state" />
<result property="bidJsqrTlLeaderTime" column="bid_jsqr_tl_leader_time" />
<result property="bidJsqrTlLeaderRemark" column="bid_jsqr_tl_leader_remark" />
<result property="bidJsqrDyApprovalStatus" column="bid_jsqr_dy_approval_status" />
<result property="bidJsqrDyOperateUserName" column="bid_jsqr_dy_operate_user_name" />
<result property="bidJsqrDyOperateState" column="bid_jsqr_dy_operate_state" />
<result property="bidJsqrDyOperateTime" column="bid_jsqr_dy_operate_time" />
<result property="bidJsqrDyRemark" column="bid_jsqr_dy_remark" />
<result property="bidJsqrDyCheckUserName" column="bid_jsqr_dy_check_user_name" />
<result property="bidJsqrDyCheckState" column="bid_jsqr_dy_check_state" />
<result property="bidJsqrDyCheckTime" column="bid_jsqr_dy_check_time" />
<result property="bidJsqrDyCheckRemark" column="bid_jsqr_dy_check_remark" />
<result property="bidJsqrDyLeaderUserName" column="bid_jsqr_dy_leader_user_name" />
<result property="bidJsqrDyLeaderState" column="bid_jsqr_dy_leader_state" />
<result property="bidJsqrDyLeaderTime" column="bid_jsqr_dy_leader_time" />
<result property="bidJsqrDyLeaderRemark" column="bid_jsqr_dy_leader_remark" />
<result property="bidJsqrZyApprovalStatus" column="bid_jsqr_zy_approval_status" />
<result property="bidJsqrZyOperateUserName" column="bid_jsqr_zy_operate_user_name" />
<result property="bidJsqrZyOperateState" column="bid_jsqr_zy_operate_state" />
<result property="bidJsqrZyOperateTime" column="bid_jsqr_zy_operate_time" />
<result property="bidJsqrZyRemark" column="bid_jsqr_zy_remark" />
<result property="bidJsqrZyCheckUserName" column="bid_jsqr_zy_check_user_name" />
<result property="bidJsqrZyCheckState" column="bid_jsqr_zy_check_state" />
<result property="bidJsqrZyCheckTime" column="bid_jsqr_zy_check_time" />
<result property="bidJsqrZyCheckRemark" column="bid_jsqr_zy_check_remark" />
<result property="bidJsqrZyLeaderUserName" column="bid_jsqr_zy_leader_user_name" />
<result property="bidJsqrZyLeaderState" column="bid_jsqr_zy_leader_state" />
<result property="bidJsqrZyLeaderTime" column="bid_jsqr_zy_leader_time" />
<result property="bidJsqrZyLeaderRemark" column="bid_jsqr_zy_leader_remark" />
<result property="bidJsqrQtApprovalStatus" column="bid_jsqr_qt_approval_status" />
<result property="bidJsqrQtOperateUserName" column="bid_jsqr_qt_operate_user_name" />
<result property="bidJsqrQtOperateState" column="bid_jsqr_qt_operate_state" />
<result property="bidJsqrQtOperateTime" column="bid_jsqr_qt_operate_time" />
<result property="bidJsqrQtRemark" column="bid_jsqr_qt_remark" />
<result property="bidJsqrQtCheckUserName" column="bid_jsqr_qt_check_user_name" />
<result property="bidJsqrQtCheckState" column="bid_jsqr_qt_check_state" />
<result property="bidJsqrQtCheckTime" column="bid_jsqr_qt_check_time" />
<result property="bidJsqrQtCheckRemark" column="bid_jsqr_qt_check_remark" />
<result property="bidJsqrQtLeaderUserName" column="bid_jsqr_qt_leader_user_name" />
<result property="bidJsqrQtLeaderState" column="bid_jsqr_qt_leader_state" />
<result property="bidJsqrQtLeaderTime" column="bid_jsqr_qt_leader_time" />
<result property="bidJsqrQtLeaderRemark" column="bid_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="bidId" column="bid_id" />
<result property="bidCode" column="bid_code" />
<result property="bidSalesmanName" column="bid_salesman_name" />
<result property="bidTenderingUnit" column="bid_tendering_unit" />
<result property="bidProject" column="bid_project" />
<result property="bidJsxzApprovalStatus" column="bid_jsxz_approval_status" />
<result property="bidJsxzGroupValues" column="bid_jsxz_group_values" />
<result property="bidJsxzTechnicalRequirement" column="bid_jsxz_technical_requirement" />
</resultMap>
<sql id="bidJsqrJoins">
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 bid q on q.bid_jsxz_confirm_id = a.bid_jsqr_id
</sql>
<sql id="selectBidJsqrVo">
select a.bid_jsqr_id, a.bid_jsqr_code, a.bid_jsqr_tl_approval_status, a.bid_jsqr_tl_operate_user_name,
a.bid_jsqr_tl_operate_state, a.bid_jsqr_tl_operate_time, a.bid_jsqr_tl_remark, a.bid_jsqr_tl_check_user_name,
a.bid_jsqr_tl_check_state, a.bid_jsqr_tl_check_time, a.bid_jsqr_tl_check_remark, a.bid_jsqr_tl_leader_user_name,
a.bid_jsqr_tl_leader_state, a.bid_jsqr_tl_leader_time, a.bid_jsqr_tl_leader_remark, a.bid_jsqr_dy_approval_status,
a.bid_jsqr_dy_operate_user_name, a.bid_jsqr_dy_operate_state, a.bid_jsqr_dy_operate_time, a.bid_jsqr_dy_remark,
a.bid_jsqr_dy_check_user_name, a.bid_jsqr_dy_check_state, a.bid_jsqr_dy_check_time, a.bid_jsqr_dy_check_remark,
a.bid_jsqr_dy_leader_user_name, a.bid_jsqr_dy_leader_state, a.bid_jsqr_dy_leader_time, a.bid_jsqr_dy_leader_remark,
a.bid_jsqr_zy_approval_status, a.bid_jsqr_zy_operate_user_name, a.bid_jsqr_zy_operate_state, a.bid_jsqr_zy_operate_time,
a.bid_jsqr_zy_remark, a.bid_jsqr_zy_check_user_name, a.bid_jsqr_zy_check_state, a.bid_jsqr_zy_check_time,
a.bid_jsqr_zy_check_remark, a.bid_jsqr_zy_leader_user_name, a.bid_jsqr_zy_leader_state, a.bid_jsqr_zy_leader_time,
a.bid_jsqr_zy_leader_remark, a.bid_jsqr_qt_approval_status, a.bid_jsqr_qt_operate_user_name, a.bid_jsqr_qt_operate_state,
a.bid_jsqr_qt_operate_time, a.bid_jsqr_qt_remark, a.bid_jsqr_qt_check_user_name, a.bid_jsqr_qt_check_state,
a.bid_jsqr_qt_check_time, a.bid_jsqr_qt_check_remark, a.bid_jsqr_qt_leader_user_name, a.bid_jsqr_qt_leader_state,
a.bid_jsqr_qt_leader_time, a.bid_jsqr_qt_leader_remark, a.create_by, a.create_time, a.update_by, a.update_time,
u.nick_name create_name,q.bid_id,q.bid_code,q.bid_salesman_name,q.bid_tendering_unit,q.bid_project,
q.bid_jsxz_approval_status,q.bid_jsxz_group_values,q.bid_jsxz_technical_requirement
from bid_jsqr a
<include refid="bidJsqrJoins"/>
</sql>
<select id="selectBidJsqrList" parameterType="BidJsqr" resultMap="BidJsqrResult">
<include refid="selectBidJsqrVo"/>
<where>
<if test="bidJsqrCode != null and bidJsqrCode != ''"> and bid_jsqr_code like concat('%', #{bidJsqrCode}, '%')</if>
<if test="bidJsxzApprovalStatus != null and bidJsxzApprovalStatus != ''"> and q.bid_jsxz_approval_status = #{bidJsxzApprovalStatus}</if>
<if test="bidCode != null and bidCode != ''"> and q.bid_code like concat('%', #{bidCode}, '%')</if>
<if test="bidSalesmanName != null and bidSalesmanName != ''"> and q.bid_salesman_name like concat('%', #{bidSalesmanName}, '%')</if>
<if test="bidTenderingUnit != null and bidTenderingUnit != ''"> and q.bid_tendering_unit like concat('%', #{bidTenderingUnit}, '%')</if>
<if test="bidProject != null and bidProject != ''"> and q.bid_project like concat('%', #{bidProject}, '%')</if>
<!-- 数据范围过滤 -->
<!--${params.dataScope}-->
</where>
order by a.bid_jsqr_code desc
</select>
<select id="selectBidJsqrByBidJsqrId" parameterType="String" resultMap="BidJsqrResult">
<include refid="selectBidJsqrVo"/>
where bid_jsqr_id = #{bidJsqrId}
</select>
<insert id="insertBidJsqr" parameterType="BidJsqr">
insert into bid_jsqr
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="bidJsqrId != null">bid_jsqr_id,</if>
<if test="bidJsqrCode != null">bid_jsqr_code,</if>
<if test="bidJsqrTlApprovalStatus != null">bid_jsqr_tl_approval_status,</if>
<if test="bidJsqrTlOperateUserName != null">bid_jsqr_tl_operate_user_name,</if>
<if test="bidJsqrTlOperateState != null">bid_jsqr_tl_operate_state,</if>
<if test="bidJsqrTlOperateTime != null">bid_jsqr_tl_operate_time,</if>
<if test="bidJsqrTlRemark != null">bid_jsqr_tl_remark,</if>
<if test="bidJsqrTlCheckUserName != null">bid_jsqr_tl_check_user_name,</if>
<if test="bidJsqrTlCheckState != null">bid_jsqr_tl_check_state,</if>
<if test="bidJsqrTlCheckTime != null">bid_jsqr_tl_check_time,</if>
<if test="bidJsqrTlCheckRemark != null">bid_jsqr_tl_check_remark,</if>
<if test="bidJsqrTlLeaderUserName != null">bid_jsqr_tl_leader_user_name,</if>
<if test="bidJsqrTlLeaderState != null">bid_jsqr_tl_leader_state,</if>
<if test="bidJsqrTlLeaderTime != null">bid_jsqr_tl_leader_time,</if>
<if test="bidJsqrTlLeaderRemark != null">bid_jsqr_tl_leader_remark,</if>
<if test="bidJsqrDyApprovalStatus != null">bid_jsqr_dy_approval_status,</if>
<if test="bidJsqrDyOperateUserName != null">bid_jsqr_dy_operate_user_name,</if>
<if test="bidJsqrDyOperateState != null">bid_jsqr_dy_operate_state,</if>
<if test="bidJsqrDyOperateTime != null">bid_jsqr_dy_operate_time,</if>
<if test="bidJsqrDyRemark != null">bid_jsqr_dy_remark,</if>
<if test="bidJsqrDyCheckUserName != null">bid_jsqr_dy_check_user_name,</if>
<if test="bidJsqrDyCheckState != null">bid_jsqr_dy_check_state,</if>
<if test="bidJsqrDyCheckTime != null">bid_jsqr_dy_check_time,</if>
<if test="bidJsqrDyCheckRemark != null">bid_jsqr_dy_check_remark,</if>
<if test="bidJsqrDyLeaderUserName != null">bid_jsqr_dy_leader_user_name,</if>
<if test="bidJsqrDyLeaderState != null">bid_jsqr_dy_leader_state,</if>
<if test="bidJsqrDyLeaderTime != null">bid_jsqr_dy_leader_time,</if>
<if test="bidJsqrDyLeaderRemark != null">bid_jsqr_dy_leader_remark,</if>
<if test="bidJsqrZyApprovalStatus != null">bid_jsqr_zy_approval_status,</if>
<if test="bidJsqrZyOperateUserName != null">bid_jsqr_zy_operate_user_name,</if>
<if test="bidJsqrZyOperateState != null">bid_jsqr_zy_operate_state,</if>
<if test="bidJsqrZyOperateTime != null">bid_jsqr_zy_operate_time,</if>
<if test="bidJsqrZyRemark != null">bid_jsqr_zy_remark,</if>
<if test="bidJsqrZyCheckUserName != null">bid_jsqr_zy_check_user_name,</if>
<if test="bidJsqrZyCheckState != null">bid_jsqr_zy_check_state,</if>
<if test="bidJsqrZyCheckTime != null">bid_jsqr_zy_check_time,</if>
<if test="bidJsqrZyCheckRemark != null">bid_jsqr_zy_check_remark,</if>
<if test="bidJsqrZyLeaderUserName != null">bid_jsqr_zy_leader_user_name,</if>
<if test="bidJsqrZyLeaderState != null">bid_jsqr_zy_leader_state,</if>
<if test="bidJsqrZyLeaderTime != null">bid_jsqr_zy_leader_time,</if>
<if test="bidJsqrZyLeaderRemark != null">bid_jsqr_zy_leader_remark,</if>
<if test="bidJsqrQtApprovalStatus != null">bid_jsqr_qt_approval_status,</if>
<if test="bidJsqrQtOperateUserName != null">bid_jsqr_qt_operate_user_name,</if>
<if test="bidJsqrQtOperateState != null">bid_jsqr_qt_operate_state,</if>
<if test="bidJsqrQtOperateTime != null">bid_jsqr_qt_operate_time,</if>
<if test="bidJsqrQtRemark != null">bid_jsqr_qt_remark,</if>
<if test="bidJsqrQtCheckUserName != null">bid_jsqr_qt_check_user_name,</if>
<if test="bidJsqrQtCheckState != null">bid_jsqr_qt_check_state,</if>
<if test="bidJsqrQtCheckTime != null">bid_jsqr_qt_check_time,</if>
<if test="bidJsqrQtCheckRemark != null">bid_jsqr_qt_check_remark,</if>
<if test="bidJsqrQtLeaderUserName != null">bid_jsqr_qt_leader_user_name,</if>
<if test="bidJsqrQtLeaderState != null">bid_jsqr_qt_leader_state,</if>
<if test="bidJsqrQtLeaderTime != null">bid_jsqr_qt_leader_time,</if>
<if test="bidJsqrQtLeaderRemark != null">bid_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="bidJsqrId != null">#{bidJsqrId},</if>
<if test="bidJsqrCode != null">#{bidJsqrCode},</if>
<if test="bidJsqrTlApprovalStatus != null">#{bidJsqrTlApprovalStatus},</if>
<if test="bidJsqrTlOperateUserName != null">#{bidJsqrTlOperateUserName},</if>
<if test="bidJsqrTlOperateState != null">#{bidJsqrTlOperateState},</if>
<if test="bidJsqrTlOperateTime != null">#{bidJsqrTlOperateTime},</if>
<if test="bidJsqrTlRemark != null">#{bidJsqrTlRemark},</if>
<if test="bidJsqrTlCheckUserName != null">#{bidJsqrTlCheckUserName},</if>
<if test="bidJsqrTlCheckState != null">#{bidJsqrTlCheckState},</if>
<if test="bidJsqrTlCheckTime != null">#{bidJsqrTlCheckTime},</if>
<if test="bidJsqrTlCheckRemark != null">#{bidJsqrTlCheckRemark},</if>
<if test="bidJsqrTlLeaderUserName != null">#{bidJsqrTlLeaderUserName},</if>
<if test="bidJsqrTlLeaderState != null">#{bidJsqrTlLeaderState},</if>
<if test="bidJsqrTlLeaderTime != null">#{bidJsqrTlLeaderTime},</if>
<if test="bidJsqrTlLeaderRemark != null">#{bidJsqrTlLeaderRemark},</if>
<if test="bidJsqrDyApprovalStatus != null">#{bidJsqrDyApprovalStatus},</if>
<if test="bidJsqrDyOperateUserName != null">#{bidJsqrDyOperateUserName},</if>
<if test="bidJsqrDyOperateState != null">#{bidJsqrDyOperateState},</if>
<if test="bidJsqrDyOperateTime != null">#{bidJsqrDyOperateTime},</if>
<if test="bidJsqrDyRemark != null">#{bidJsqrDyRemark},</if>
<if test="bidJsqrDyCheckUserName != null">#{bidJsqrDyCheckUserName},</if>
<if test="bidJsqrDyCheckState != null">#{bidJsqrDyCheckState},</if>
<if test="bidJsqrDyCheckTime != null">#{bidJsqrDyCheckTime},</if>
<if test="bidJsqrDyCheckRemark != null">#{bidJsqrDyCheckRemark},</if>
<if test="bidJsqrDyLeaderUserName != null">#{bidJsqrDyLeaderUserName},</if>
<if test="bidJsqrDyLeaderState != null">#{bidJsqrDyLeaderState},</if>
<if test="bidJsqrDyLeaderTime != null">#{bidJsqrDyLeaderTime},</if>
<if test="bidJsqrDyLeaderRemark != null">#{bidJsqrDyLeaderRemark},</if>
<if test="bidJsqrZyApprovalStatus != null">#{bidJsqrZyApprovalStatus},</if>
<if test="bidJsqrZyOperateUserName != null">#{bidJsqrZyOperateUserName},</if>
<if test="bidJsqrZyOperateState != null">#{bidJsqrZyOperateState},</if>
<if test="bidJsqrZyOperateTime != null">#{bidJsqrZyOperateTime},</if>
<if test="bidJsqrZyRemark != null">#{bidJsqrZyRemark},</if>
<if test="bidJsqrZyCheckUserName != null">#{bidJsqrZyCheckUserName},</if>
<if test="bidJsqrZyCheckState != null">#{bidJsqrZyCheckState},</if>
<if test="bidJsqrZyCheckTime != null">#{bidJsqrZyCheckTime},</if>
<if test="bidJsqrZyCheckRemark != null">#{bidJsqrZyCheckRemark},</if>
<if test="bidJsqrZyLeaderUserName != null">#{bidJsqrZyLeaderUserName},</if>
<if test="bidJsqrZyLeaderState != null">#{bidJsqrZyLeaderState},</if>
<if test="bidJsqrZyLeaderTime != null">#{bidJsqrZyLeaderTime},</if>
<if test="bidJsqrZyLeaderRemark != null">#{bidJsqrZyLeaderRemark},</if>
<if test="bidJsqrQtApprovalStatus != null">#{bidJsqrQtApprovalStatus},</if>
<if test="bidJsqrQtOperateUserName != null">#{bidJsqrQtOperateUserName},</if>
<if test="bidJsqrQtOperateState != null">#{bidJsqrQtOperateState},</if>
<if test="bidJsqrQtOperateTime != null">#{bidJsqrQtOperateTime},</if>
<if test="bidJsqrQtRemark != null">#{bidJsqrQtRemark},</if>
<if test="bidJsqrQtCheckUserName != null">#{bidJsqrQtCheckUserName},</if>
<if test="bidJsqrQtCheckState != null">#{bidJsqrQtCheckState},</if>
<if test="bidJsqrQtCheckTime != null">#{bidJsqrQtCheckTime},</if>
<if test="bidJsqrQtCheckRemark != null">#{bidJsqrQtCheckRemark},</if>
<if test="bidJsqrQtLeaderUserName != null">#{bidJsqrQtLeaderUserName},</if>
<if test="bidJsqrQtLeaderState != null">#{bidJsqrQtLeaderState},</if>
<if test="bidJsqrQtLeaderTime != null">#{bidJsqrQtLeaderTime},</if>
<if test="bidJsqrQtLeaderRemark != null">#{bidJsqrQtLeaderRemark},</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="updateBidJsqr" parameterType="BidJsqr">
update bid_jsqr
<trim prefix="SET" suffixOverrides=",">
<if test="bidJsqrCode != null">bid_jsqr_code = #{bidJsqrCode},</if>
<if test="bidJsqrTlApprovalStatus != null">bid_jsqr_tl_approval_status = #{bidJsqrTlApprovalStatus},</if>
<if test="bidJsqrTlOperateUserName != null">bid_jsqr_tl_operate_user_name = #{bidJsqrTlOperateUserName},</if>
<if test="bidJsqrTlOperateState != null">bid_jsqr_tl_operate_state = #{bidJsqrTlOperateState},</if>
<if test="bidJsqrTlOperateTime != null">bid_jsqr_tl_operate_time = #{bidJsqrTlOperateTime},</if>
<if test="bidJsqrTlRemark != null">bid_jsqr_tl_remark = #{bidJsqrTlRemark},</if>
<if test="bidJsqrTlCheckUserName != null">bid_jsqr_tl_check_user_name = #{bidJsqrTlCheckUserName},</if>
<if test="bidJsqrTlCheckState != null">bid_jsqr_tl_check_state = #{bidJsqrTlCheckState},</if>
<if test="bidJsqrTlCheckTime != null">bid_jsqr_tl_check_time = #{bidJsqrTlCheckTime},</if>
<if test="bidJsqrTlCheckRemark != null">bid_jsqr_tl_check_remark = #{bidJsqrTlCheckRemark},</if>
<if test="bidJsqrTlLeaderUserName != null">bid_jsqr_tl_leader_user_name = #{bidJsqrTlLeaderUserName},</if>
<if test="bidJsqrTlLeaderState != null">bid_jsqr_tl_leader_state = #{bidJsqrTlLeaderState},</if>
<if test="bidJsqrTlLeaderTime != null">bid_jsqr_tl_leader_time = #{bidJsqrTlLeaderTime},</if>
<if test="bidJsqrTlLeaderRemark != null">bid_jsqr_tl_leader_remark = #{bidJsqrTlLeaderRemark},</if>
<if test="bidJsqrDyApprovalStatus != null">bid_jsqr_dy_approval_status = #{bidJsqrDyApprovalStatus},</if>
<if test="bidJsqrDyOperateUserName != null">bid_jsqr_dy_operate_user_name = #{bidJsqrDyOperateUserName},</if>
<if test="bidJsqrDyOperateState != null">bid_jsqr_dy_operate_state = #{bidJsqrDyOperateState},</if>
<if test="bidJsqrDyOperateTime != null">bid_jsqr_dy_operate_time = #{bidJsqrDyOperateTime},</if>
<if test="bidJsqrDyRemark != null">bid_jsqr_dy_remark = #{bidJsqrDyRemark},</if>
<if test="bidJsqrDyCheckUserName != null">bid_jsqr_dy_check_user_name = #{bidJsqrDyCheckUserName},</if>
<if test="bidJsqrDyCheckState != null">bid_jsqr_dy_check_state = #{bidJsqrDyCheckState},</if>
<if test="bidJsqrDyCheckTime != null">bid_jsqr_dy_check_time = #{bidJsqrDyCheckTime},</if>
<if test="bidJsqrDyCheckRemark != null">bid_jsqr_dy_check_remark = #{bidJsqrDyCheckRemark},</if>
<if test="bidJsqrDyLeaderUserName != null">bid_jsqr_dy_leader_user_name = #{bidJsqrDyLeaderUserName},</if>
<if test="bidJsqrDyLeaderState != null">bid_jsqr_dy_leader_state = #{bidJsqrDyLeaderState},</if>
<if test="bidJsqrDyLeaderTime != null">bid_jsqr_dy_leader_time = #{bidJsqrDyLeaderTime},</if>
<if test="bidJsqrDyLeaderRemark != null">bid_jsqr_dy_leader_remark = #{bidJsqrDyLeaderRemark},</if>
<if test="bidJsqrZyApprovalStatus != null">bid_jsqr_zy_approval_status = #{bidJsqrZyApprovalStatus},</if>
<if test="bidJsqrZyOperateUserName != null">bid_jsqr_zy_operate_user_name = #{bidJsqrZyOperateUserName},</if>
<if test="bidJsqrZyOperateState != null">bid_jsqr_zy_operate_state = #{bidJsqrZyOperateState},</if>
<if test="bidJsqrZyOperateTime != null">bid_jsqr_zy_operate_time = #{bidJsqrZyOperateTime},</if>
<if test="bidJsqrZyRemark != null">bid_jsqr_zy_remark = #{bidJsqrZyRemark},</if>
<if test="bidJsqrZyCheckUserName != null">bid_jsqr_zy_check_user_name = #{bidJsqrZyCheckUserName},</if>
<if test="bidJsqrZyCheckState != null">bid_jsqr_zy_check_state = #{bidJsqrZyCheckState},</if>
<if test="bidJsqrZyCheckTime != null">bid_jsqr_zy_check_time = #{bidJsqrZyCheckTime},</if>
<if test="bidJsqrZyCheckRemark != null">bid_jsqr_zy_check_remark = #{bidJsqrZyCheckRemark},</if>
<if test="bidJsqrZyLeaderUserName != null">bid_jsqr_zy_leader_user_name = #{bidJsqrZyLeaderUserName},</if>
<if test="bidJsqrZyLeaderState != null">bid_jsqr_zy_leader_state = #{bidJsqrZyLeaderState},</if>
<if test="bidJsqrZyLeaderTime != null">bid_jsqr_zy_leader_time = #{bidJsqrZyLeaderTime},</if>
<if test="bidJsqrZyLeaderRemark != null">bid_jsqr_zy_leader_remark = #{bidJsqrZyLeaderRemark},</if>
<if test="bidJsqrQtApprovalStatus != null">bid_jsqr_qt_approval_status = #{bidJsqrQtApprovalStatus},</if>
<if test="bidJsqrQtOperateUserName != null">bid_jsqr_qt_operate_user_name = #{bidJsqrQtOperateUserName},</if>
<if test="bidJsqrQtOperateState != null">bid_jsqr_qt_operate_state = #{bidJsqrQtOperateState},</if>
<if test="bidJsqrQtOperateTime != null">bid_jsqr_qt_operate_time = #{bidJsqrQtOperateTime},</if>
<if test="bidJsqrQtRemark != null">bid_jsqr_qt_remark = #{bidJsqrQtRemark},</if>
<if test="bidJsqrQtCheckUserName != null">bid_jsqr_qt_check_user_name = #{bidJsqrQtCheckUserName},</if>
<if test="bidJsqrQtCheckState != null">bid_jsqr_qt_check_state = #{bidJsqrQtCheckState},</if>
<if test="bidJsqrQtCheckTime != null">bid_jsqr_qt_check_time = #{bidJsqrQtCheckTime},</if>
<if test="bidJsqrQtCheckRemark != null">bid_jsqr_qt_check_remark = #{bidJsqrQtCheckRemark},</if>
<if test="bidJsqrQtLeaderUserName != null">bid_jsqr_qt_leader_user_name = #{bidJsqrQtLeaderUserName},</if>
<if test="bidJsqrQtLeaderState != null">bid_jsqr_qt_leader_state = #{bidJsqrQtLeaderState},</if>
<if test="bidJsqrQtLeaderTime != null">bid_jsqr_qt_leader_time = #{bidJsqrQtLeaderTime},</if>
<if test="bidJsqrQtLeaderRemark != null">bid_jsqr_qt_leader_remark = #{bidJsqrQtLeaderRemark},</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 bid_jsqr_id = #{bidJsqrId}
</update>
<delete id="deleteBidJsqrByBidJsqrId" parameterType="String">
delete from bid_jsqr where bid_jsqr_id = #{bidJsqrId}
</delete>
<delete id="deleteBidJsqrByBidJsqrIds" parameterType="String">
delete from bid_jsqr where bid_jsqr_id in
<foreach item="bidJsqrId" collection="array" open="(" separator="," close=")">
#{bidJsqrId}
</foreach>
</delete>
</mapper>