模组信息查询
This commit is contained in:
@@ -118,5 +118,19 @@
|
||||
group by twpbs.ORDER_NAME
|
||||
</select>
|
||||
|
||||
<select id="substrateList" resultType="com.cnbm.packing.dto.WoPackagingBoxSubstrateDTO">
|
||||
select
|
||||
twpb.CREATE_TIME as boxCreateTime,twpbs.*,twpb.PRINT_TIME as printTime
|
||||
from t_wo_packaging_box_substrate twpbs
|
||||
left join t_wo_packaging_box twpb on twpbs.PACKAGING_BOX_ID = twpb.BOX_NO
|
||||
<where>
|
||||
<if test="woSubstrateId != null and woSubstrateId != ''">
|
||||
and twpbs.WO_SUBSTRATE_ID like CONCAT(CONCAT('%',#{woSubstrateId}),'%')
|
||||
</if>
|
||||
AND twpbs.valid = 1
|
||||
</where>
|
||||
order by twpb.CREATE_TIME desc
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user