15066出现了安全措施确认人数据丢失的情况
parent
fb98f35b24
commit
60bfb26030
|
@ -26,5 +26,7 @@ public interface BusHotworkCfdExamineMapper {
|
||||||
List<PageData> findByCondition(PageData condition);
|
List<PageData> findByCondition(PageData condition);
|
||||||
|
|
||||||
List<PageData> safetylistPage(Page page);
|
List<PageData> safetylistPage(Page page);
|
||||||
|
|
||||||
|
List<PageData> listAllByHotWorkId(PageData condition);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -284,7 +284,8 @@ public class HotworkCfdServiceImpl implements HotworkCfdService {
|
||||||
hotworkCfdMapper.delete(pd);
|
hotworkCfdMapper.delete(pd);
|
||||||
PageData condition = new PageData();
|
PageData condition = new PageData();
|
||||||
condition.put("HOTWORK_ID", pd.getString("HOTWORK_ID"));
|
condition.put("HOTWORK_ID", pd.getString("HOTWORK_ID"));
|
||||||
List<PageData> oldEntity = busHotworkCfdExamineMapper.listAll(condition);
|
// List<PageData> oldEntity = busHotworkCfdExamineMapper.listAll(condition);
|
||||||
|
List<PageData> oldEntity = busHotworkCfdExamineMapper.listAllByHotWorkId(condition);
|
||||||
for (PageData entity : oldEntity) {
|
for (PageData entity : oldEntity) {
|
||||||
entity.put("IS_DELETE", "1");
|
entity.put("IS_DELETE", "1");
|
||||||
busHotworkCfdExamineMapper.edit(entity);
|
busHotworkCfdExamineMapper.edit(entity);
|
||||||
|
|
|
@ -308,5 +308,9 @@
|
||||||
ORDER BY f.APPLY_STATUS,f.CREATTIME DESC
|
ORDER BY f.APPLY_STATUS,f.CREATTIME DESC
|
||||||
|
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<select id="listAllByHotWorkId" resultType="com.zcloud.entity.PageData">
|
||||||
|
select * from bus_hotwork_cfd_examine f where f.HOTWORK_ID = #{HOTWORK_ID}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue