Merge remote-tracking branch 'origin/master'
commit
7b647d7d10
|
|
@ -314,7 +314,7 @@ public class DataTask {
|
|||
UpdateWrapper<StPptnRH> updateWrapper = new UpdateWrapper<>();
|
||||
updateWrapper.eq("stcd", LastData.getStcd()).eq("tm", LastData.getTm());
|
||||
LastData.setDrp(LastData.getDrp());
|
||||
LastData.setChtm(LastData.getChtm());
|
||||
LastData.setChtm(maxData.getChtm());
|
||||
stPptnRHService.saveOrUpdate(LastData, updateWrapper);
|
||||
}
|
||||
if(list.size() > 0){
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
</select>
|
||||
|
||||
<select id="getMaxData" resultType="com.gunshi.project.xyt.model.StPptnRH">
|
||||
SELECT #{stcd} stcd, COALESCE(max(tm), '2021-01-01 00:00:00') tm FROM st_pptn_r_h
|
||||
SELECT #{stcd} stcd, COALESCE(max(tm), '2021-01-01 00:00:00') tm, MAX ( chtm ) chtm FROM st_pptn_r_h
|
||||
</select>
|
||||
|
||||
<select id="queryDayRz" resultType="com.gunshi.project.xyt.model.StPptnRD">
|
||||
|
|
|
|||
Loading…
Reference in New Issue