liurunyu
2024-12-11 7c2e1e310bbb825aca954c7a228ec7d5625dd8d6
pipIrr-platform/pipIrr-web/pipIrr-web-temp/src/main/java/com/dy/pipIrrTemp/delSome/DelSomeSv.java
@@ -1,7 +1,5 @@
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;
@@ -36,15 +34,15 @@
                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{
@@ -60,6 +58,6 @@
    @Transactional
    int doDelStLossMonth(Long id){
        return dao.deleteByMainKey(id) ;
        return dao.deleteStLossMonthById(id) ;
    }
}