@@ -35,8 +35,9 @@ public class ShorelineManageInfoServiceImpl extends ServiceImpl<ShorelineManageI
return ReturnT.SUCCESS;
} else {
shorelineManageInfos.forEach(i -> {
- i.setLineStatus(2);
+ i.setLineStatus(4);
i.setUDate(new Date());
+ i.setUpdateUser("5043");
});
boolean updated = this.updateBatchById(shorelineManageInfos);
if (updated) {
@@ -98,5 +98,6 @@
<select id="getAllNeedUpdate" resultType="com.shcd.entity.ShorelineManageInfo">
select * from GHJG_CHANNEL.SHORELINE_MANAGE_INFO
where EFFECTIVE_END_DATE < sysdate
+ and LINE_STATUS = 0
</select>
</mapper>