|
|
|
|
@ -229,7 +229,7 @@
|
|
|
|
|
AND ppd.class_team_id = #{map.classTeamId}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="map.planCode != null and map.planCode != ''">
|
|
|
|
|
AND ppi.dispatch_code LIKE CONCAT('%', #{map.planCode}, '%')
|
|
|
|
|
AND ppi.plan_code LIKE CONCAT('%', #{map.planCode}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="map.materialName != null and map.materialName != ''">
|
|
|
|
|
AND bmi.material_name LIKE CONCAT('%', #{map.materialName}, '%')
|
|
|
|
|
@ -243,7 +243,7 @@
|
|
|
|
|
|
|
|
|
|
<select id="workHourReportList" resultType="org.dromara.mes.domain.vo.WorkHourReportVo">
|
|
|
|
|
SELECT
|
|
|
|
|
ppi.dispatch_code AS dispatchCode,
|
|
|
|
|
ppi.plan_code AS planCode,
|
|
|
|
|
bct.team_name AS teamName,
|
|
|
|
|
pbsi.station_name AS stationName,
|
|
|
|
|
bmi.material_name AS materialName,
|
|
|
|
|
@ -286,7 +286,7 @@
|
|
|
|
|
AND ppd.class_team_id = #{map.classTeamId}
|
|
|
|
|
</if>
|
|
|
|
|
<if test="map.planCode != null and map.planCode != ''">
|
|
|
|
|
AND ppi.dispatch_code LIKE CONCAT('%', #{map.planCode}, '%')
|
|
|
|
|
AND ppi.plan_code LIKE CONCAT('%', #{map.planCode}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="map.materialName != null and map.materialName != ''">
|
|
|
|
|
AND bmi.material_name LIKE CONCAT('%', #{map.materialName}, '%')
|
|
|
|
|
|