|
|
|
@ -40,6 +40,7 @@
|
|
|
|
|
<result property="expirationTime" column="expiration_time" jdbcType="VARCHAR"/>
|
|
|
|
|
<result property="mentsendTime" column="mentSend_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="reclaimTime" column="reclaim_time" jdbcType="TIMESTAMP"/>
|
|
|
|
|
<result property="deptId" column="dept_id" jdbcType="INTEGER"/>
|
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
|
@ -54,10 +55,10 @@
|
|
|
|
|
update_time,remark,carrier_name,
|
|
|
|
|
area_city,area_district,maintain_stand,
|
|
|
|
|
destory_stand,issued_dept,expiration_time,
|
|
|
|
|
mentSend_time,reclaim_time
|
|
|
|
|
mentSend_time,reclaim_time,dept_id
|
|
|
|
|
</sql>
|
|
|
|
|
<select id="selectTdCarrierList" resultType="com.ruoyi.system.domain.carrier.TdCarrierIssued">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="carrierName!=null and carrierName!=''">
|
|
|
|
|
AND carrier_name LIKE concat('%',#{carrierName},'%')
|
|
|
|
@ -83,13 +84,15 @@
|
|
|
|
|
<if test="status!=null and status!=''">
|
|
|
|
|
AND status = #{status}
|
|
|
|
|
</if>
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
|
${params.dataScope}
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTdCarrierUserList" resultType="com.ruoyi.system.domain.carrier.TdCarrierIssued">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="carrierName!=null and carrierName!=''">
|
|
|
|
|
AND carrier_name LIKE concat('%',#{carrierName},'%')
|
|
|
|
@ -113,6 +116,8 @@
|
|
|
|
|
AND area_district = #{areaDistrict}
|
|
|
|
|
</if>
|
|
|
|
|
AND status in (1,2)
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
|
${params.dataScope}
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
</select>
|
|
|
|
@ -121,7 +126,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTdCarrierUpdateList" resultType="com.ruoyi.system.domain.carrier.TdCarrierIssued">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="carrierName!=null and carrierName!=''">
|
|
|
|
|
AND carrier_name LIKE concat('%',#{carrierName},'%')
|
|
|
|
@ -145,11 +150,13 @@
|
|
|
|
|
AND area_district = #{areaDistrict}
|
|
|
|
|
</if>
|
|
|
|
|
AND status !='6'
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
|
${params.dataScope}
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectTdCarrierSaveList" resultType="com.ruoyi.system.domain.carrier.TdCarrierIssued">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued d
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="carrierName!=null and carrierName!=''">
|
|
|
|
|
AND carrier_name LIKE concat('%',#{carrierName},'%')
|
|
|
|
@ -173,6 +180,8 @@
|
|
|
|
|
AND area_district = #{areaDistrict}
|
|
|
|
|
</if>
|
|
|
|
|
AND status in (3,4)
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
|
|
${params.dataScope}
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
|
|
|
|
|