|
@@ -203,4 +203,25 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
WHERE a.state = 'state_4'
|
|
|
AND DATE_ADD(b.sign_time, INTERVAL a.threshold DAY) < NOW();
|
|
|
</select>
|
|
|
+
|
|
|
+
|
|
|
+ <select id="listByUserId" parameterType="CenterdataTHousingconstructionSteelcylinderLog" resultType="map">
|
|
|
+ select steelcylinder_id steelcylinderId, steelcylinder_name steelcylinderName,
|
|
|
+ join_warehouse_time joinWarehouseTime, filling_time fillingTime,
|
|
|
+ operator_id operatorId, operator_name operatorName, car_id carId, car_number carNumber,
|
|
|
+ delivery_time deliveryTime, delivery_id deliveryId,
|
|
|
+ delivery_name deliveryName, sign_time signTime,
|
|
|
+ join_house_id joinHouseId, join_house_name joinHouseName,
|
|
|
+ recycling_name recyclingName, recycling_time recyclingTime, update_time updateTime
|
|
|
+ from centerdata_t_housingconstruction_steelcylinder_log
|
|
|
+ <where>
|
|
|
+ <if test="steelcylinderName != null and steelcylinderName !=''">
|
|
|
+ and steelcylinder_name like concat('%', #{steelcylinderName}, '%')
|
|
|
+ </if>
|
|
|
+ <if test="joinHouseId != null and joinHouseId !=''">
|
|
|
+ and join_house_id = #{joinHouseId}
|
|
|
+ </if>
|
|
|
+ and recycling_name is null
|
|
|
+ </where>
|
|
|
+ </select>
|
|
|
</mapper>
|