src/main/resources/mapper/production/ProductionOrderMapper.xml @@ -129,6 +129,9 @@ <if test="c.endTime != null"> and po.end_time <= #{c.endTime} </if> <if test="c.workshopId != null"> and t7.id = #{c.workshopId} </if> </if> </where> </sql>