|
|
|
@ -87,6 +87,41 @@
|
|
|
|
|
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
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|
<if test="carrierName!=null and carrierName!=''">
|
|
|
|
|
AND carrier_name LIKE concat('%',#{carrierName},'%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="carrierLevel!=null and carrierLevel!=''">
|
|
|
|
|
AND carrier_level = #{carrierLevel}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="carrierExtent!=null and carrierExtent!=''">
|
|
|
|
|
AND carrier_extent = #{carrierExtent}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="carrierSecret!=null and carrierSecret!=''">
|
|
|
|
|
AND carrier_secret = #{carrierSecret}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="carrierNumber!=null and carrierNumber!=''">
|
|
|
|
|
AND carrier_number = #{carrierNumber}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="areaCity!=null and areaCity!=''">
|
|
|
|
|
AND area_city = #{areaCity}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="areaDistrict!=null and areaDistrict!=''">
|
|
|
|
|
AND area_district = #{areaDistrict}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="status!=null and status!=''">
|
|
|
|
|
AND status in (1,2)
|
|
|
|
|
</if>
|
|
|
|
|
</trim>
|
|
|
|
|
ORDER BY create_time DESC
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectTdCarrierUpdateList" resultType="com.ruoyi.system.domain.carrier.TdCarrierIssued">
|
|
|
|
|
select <include refid="Base_Column_List"/> from td_carrier_issued
|
|
|
|
|
<trim prefix="where" prefixOverrides="and|or">
|
|
|
|
|