Browse Source

结束派工单页面 后台

master
Rui_Li 4 years ago
parent
commit
b7dd0c0dc8
  1. 4
      src/main/resources/mapper/schedule/ScheduleMapper.xml

4
src/main/resources/mapper/schedule/ScheduleMapper.xml

@ -969,7 +969,7 @@
</select> </select>
<!--查询派工单时的材料记录信息--> <!--查询派工单时的材料记录信息-->
<select id="getSfdcMaterialByCon" parameterType="SearchScheduleData" resultType="SfdcMaterialData">
<select id="getSfdcMaterialHistBySeqNo" parameterType="SearchScheduleData" resultType="SfdcMaterialData">
SELECT smh.Site site, smh.OrderNo orderNo, smh.ItemNo itemNo, smh.SeqNo seqNo, smh.HistSeqNo histSeqNo, smh.RollNo rollNo, smh.ReportDate reportDate, SELECT smh.Site site, smh.OrderNo orderNo, smh.ItemNo itemNo, smh.SeqNo seqNo, smh.HistSeqNo histSeqNo, smh.RollNo rollNo, smh.ReportDate reportDate,
smh.Reportedby reportedby, smh.RMRollNo rmRollNo, smh.PartNo partNo, smh.Remark remark, smh.StartDate startDate, smh.FinishDate finishedDate, smh.Reportedby reportedby, smh.RMRollNo rmRollNo, smh.PartNo partNo, smh.Remark remark, smh.StartDate startDate, smh.FinishDate finishedDate,
smh.FinishFlag finishedFlag, smh.HistType histType, smh.TransGeneratedFlag transGeneratedFlag, smh.OriginalRMRollNo originalRMRollNo, smh.FinishFlag finishedFlag, smh.HistType histType, smh.TransGeneratedFlag transGeneratedFlag, smh.OriginalRMRollNo originalRMRollNo,
@ -990,7 +990,7 @@
AND smh.SeqNo = #{seqNo} AND smh.SeqNo = #{seqNo}
</if> </if>
<if test='showNoFinishedMaterialFlag != null and showNoFinishedMaterialFlag != "" and showNoFinishedMaterialFlag == "Y"'> <if test='showNoFinishedMaterialFlag != null and showNoFinishedMaterialFlag != "" and showNoFinishedMaterialFlag == "Y"'>
AND sth.FinishFlag = 'N'
AND smh.FinishFlag = 'N'
</if> </if>
</where> </where>
ORDER BY smh.HistSeqNo DESC ORDER BY smh.HistSeqNo DESC

Loading…
Cancel
Save