src/main/resources/mapper/DefectiveProductsMapper.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/resources/mapper/DefectiveProductsMapper.xml
@@ -22,6 +22,7 @@ <select id="getDefectiveLimit" resultMap="defectiveList"> select * from tb_defective_products <where> 1=1 <if test="dto.startTime!=null"> and start_time>=#{dto.startTime} </if> @@ -41,7 +42,7 @@ order by start_time desc </select> <select id="selectDefectiveHis"> <select id="selectDefectiveHis" resultType="defectiveProductsHistory"> select * from tb_defective_products_history where deft_id=#{deftId} order by record_time desc