|
@@ -61,12 +61,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="riskLevel" column="risk_level" />
|
|
|
<result property="workDescription" column="work_description" />
|
|
|
<result property="workPeopleNumber" column="work_people_number" />
|
|
|
- <result property="guardianUnit" column="guardian_unit" />
|
|
|
+ <result property="hpjb" column="hpjb" />
|
|
|
<result property="estimateWorktime" column="estimate_worktime" />
|
|
|
<result property="bookingticketId" column="bookingticket_id" />
|
|
|
<result property="deptId" column="dept_id" />
|
|
|
<result property="deptName" column="dept_name" />
|
|
|
<result property="reservationNumber" column="reservation_number" />
|
|
|
+ <result property="whgzxkzh" column="whgzxkzh" />
|
|
|
+ <result property="dhzyxkzh" column="dhzyxkzh" />
|
|
|
+ <result property="xzkjxkzh" column="xzkjxkzh" />
|
|
|
+ <result property="mbzyxkzh" column="mbzyxkzh" />
|
|
|
+ <result property="gczyxkzh" column="gczyxkzh" />
|
|
|
+ <result property="gczyjb" column="gczyjb" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectTInvoiceBookingworkticketVo">
|
|
@@ -75,7 +81,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
</sql>
|
|
|
|
|
|
<sql id="selectTInvoiceWorkcontentVo">
|
|
|
- select d.id, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.work_type, d.risk_level, d.work_description, d.work_people_number, d.guardian_unit, d.estimate_worktime, d.bookingticket_id, d.dept_id ,d.reservation_number,s.dept_name from t_invoice_workcontent d
|
|
|
+ select d.id, d.del_flag, d.creater_code, d.createdate, d.updater_code, d.updatedate, d.work_type, d.risk_level, d.work_description, d.work_people_number, d.hpjb, d.estimate_worktime, d.bookingticket_id, d.dept_id ,d.reservation_number,s.dept_name,
|
|
|
+ d.whgzxkzh,d.dhzyxkzh,d.xzkjxkzh,d.mbzyxkzh,d.gczyxkzh,d.gczyjb from t_invoice_workcontent d
|
|
|
left join sys_dept s on s.dept_id = d.dept_id left join t_invoice_bookingworkticket b on d.bookingticket_id =b.id
|
|
|
</sql>
|
|
|
|
|
@@ -131,6 +138,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="workEndTime != null "> and b.work_end_time = #{workEndTime}</if>
|
|
|
<if test="contact != null and contact != ''"> and b.contact = #{contact}</if>
|
|
|
<if test="phonenumber != null and phonenumber != ''"> and b.phonenumber = #{phonenumber}</if>
|
|
|
+ <if test="whgzxkzh != null and whgzxkzh != ''"> and whgzxkzh = #{whgzxkzh}</if>
|
|
|
+ <if test="dhzyxkzh != null and dhzyxkzh != ''"> and dhzyxkzh = #{dhzyxkzh}</if>
|
|
|
+ <if test="xzkjxkzh != null and xzkjxkzh != ''"> and xzkjxkzh = #{xzkjxkzh}</if>
|
|
|
+ <if test="mbzyxkzh != null and mbzyxkzh != ''"> and mbzyxkzh = #{mbzyxkzh}</if>
|
|
|
+ <if test="gczyxkzh != null and gczyxkzh != ''"> and gczyxkzh = #{gczyxkzh}</if>
|
|
|
+ <if test="gczyjb != null and gczyjb != ''"> and gczyjb = #{gczyjb}</if>
|
|
|
and d.del_flag = 0
|
|
|
</where>
|
|
|
<!-- 数据范围过滤 -->
|