| | |
| | | package com.dy.pipIrrTemp.delSome; |
| | | |
| | | import com.dy.pipIrrGlobal.daoBa.AreaCode2023Mapper; |
| | | import com.dy.pipIrrGlobal.daoBa.BaDistrictMapper; |
| | | import com.dy.pipIrrGlobal.daoTmp.DeleteMapper; |
| | | import com.dy.pipIrrGlobal.voTmp.VoStLossMonth; |
| | | import lombok.extern.slf4j.Slf4j; |
| | |
| | | if(first == null){ |
| | | first = vo ; |
| | | }else{ |
| | | if(first.intakeId != vo.intakeId){ |
| | | if(first.intakeId.longValue() != vo.intakeId.longValue()){ |
| | | //取水口变了 |
| | | first = vo ; |
| | | }else{ |
| | | if(first.year != vo.year) { |
| | | if(first.year.intValue() != vo.year.intValue()) { |
| | | //年度变了 |
| | | first = vo ; |
| | | }else{ |
| | | if(first.month != vo.month){ |
| | | if(first.month.intValue() != vo.month.intValue()){ |
| | | //月份变了 |
| | | first = vo ; |
| | | }else{ |
| | |
| | | |
| | | @Transactional |
| | | int doDelStLossMonth(Long id){ |
| | | return dao.deleteByMainKey(id) ; |
| | | return dao.deleteStLossMonthById(id) ; |
| | | } |
| | | } |