|
@@ -53,12 +53,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
left join sys_user t5 on t5.user_id = t1.service_id
|
|
|
left join biz_archive_input_update t6 on t6.id = t1.contract_id
|
|
|
<trim prefix=" WHERE" suffix="" suffixOverrides="AND">
|
|
|
- t1.deleted = 0
|
|
|
+ t1.deleted = 0 and t1.is_stop = 0 and t1.type = 1
|
|
|
<if test="id != null "> AND t1.id = #{id}</if>
|
|
|
<if test="contractDetailId != null "> AND t1.contract_detail_id = #{contractDetailId}</if>
|
|
|
<if test="tenantId != null "> AND t1.tenant_id = #{tenantId}</if>
|
|
|
<if test="companyId != null "> AND t1.company_id = #{companyId}</if>
|
|
|
- <if test="type != null ">AND t1.type = #{type}</if>
|
|
|
<if test="serviceId != null">AND t1.service_id = #{serviceId}</if>
|
|
|
<if test="noContract != null ">AND t1.no_contract = #{noContract}</if>
|
|
|
<if test="workOrderNo != null and workOrderNo != ''">AND t1.work_order_no = #{workOrderNo}</if>
|