|
|
|
|
@ -3,13 +3,13 @@ |
|
|
|
|
<mapper namespace = "org.springblade.erpdata.mapper.ErpMesRbPurtosoMapper"> |
|
|
|
|
|
|
|
|
|
<select id = "getMesRbPurtosoErpList" resultType = "org.springblade.erpdata.pojo.dto.view.MesRbPurtoso"> |
|
|
|
|
SELECT * FROM V_MES_RB_PURTOSO WHERE is_deleted = 0 |
|
|
|
|
SELECT * FROM dba_mgr.V_MES_RB_PURTOSO WHERE is_deleted = 0 |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id = "getNewlevdateMax" resultType = "java.lang.String"> |
|
|
|
|
SELECT nvl(max(a.newlevdate), selectTime) |
|
|
|
|
as newlevdateMax |
|
|
|
|
FROM V_MES_RB_PURTOSO a |
|
|
|
|
FROM dba_mgr.V_MES_RB_PURTOSO a |
|
|
|
|
<where> |
|
|
|
|
a.is_deleted = 0 |
|
|
|
|
AND a.newlevdate <![CDATA[ >= ]]> to_date(#{selectTime},'YYYY-MM-DD HH24:MI:SS') |
|
|
|
|
@ -21,7 +21,7 @@ |
|
|
|
|
select a.firseq,a.sono,a.wono,a.prtno,a.prtlotno,a.prtudept, |
|
|
|
|
a.soreqdat,a.soplanner,a.soreldat,a.rouclp,a.splcode,a.newlevsoqty, |
|
|
|
|
a.warctlr,a.lewdept,a.prtudeptcode,a.newlevname,a.newlevdate |
|
|
|
|
from V_MES_RB_PURTOSO a |
|
|
|
|
from dba_mgr.V_MES_RB_PURTOSO a |
|
|
|
|
<where> |
|
|
|
|
1=1 |
|
|
|
|
<if test="newlevdateMax != null"> |
|
|
|
|
|