|  |  | 
 |  |  | import com.dy.pipIrrGlobal.pojoSt.StLossMonth; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSt.StLossYear; | 
 |  |  | import com.dy.pipIrrGlobal.voSt.VoIntake; | 
 |  |  | import com.dy.pipIrrTemp.util.StClientAmountConstant; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | 
 |  |  | public class ChSomeIntakeLossSv { | 
 |  |  |  | 
 |  |  |     private ChangeMapper dao; | 
 |  |  |  | 
 |  |  |     private static final int IntakeLossDayFlag = 800 ;//2024-12-14统计元谋数据库实时数据,发现大于800的正确的数据不存在,而小于800的基本为正确数据 | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private void setDao(ChangeMapper dao){ | 
 |  |  |         this.dao = dao; | 
 |  |  | 
 |  |  |                 if(adList != null && adList.size() > 0){ | 
 |  |  |                     //adList中数据以id升序排列 | 
 |  |  |                     for(RmLossDay ad : adList){ | 
 |  |  |                         if(ad.lossAmount != null && ad.lossAmount > IntakeLossDayFlag){ | 
 |  |  |                         if(ad.lossAmount != null && ad.lossAmount > StClientAmountConstant.IntakeLossDayFlag){ | 
 |  |  |                             this.doUpdateOneIntakeLossDay(ad.id, 0.0); | 
 |  |  |                         } | 
 |  |  |                     } | 
 |  |  | 
 |  |  |      */ | 
 |  |  |     public void statisticsIntakeLossMonth() throws Exception{ | 
 |  |  |         int nowYear = Integer.parseInt(DateTime.yyyy()) ; | 
 |  |  |         int nowMonth = Integer.parseInt(DateTime.mm()) ; | 
 |  |  |         int nowMonth = Integer.parseInt(DateTime.MM()) ; | 
 |  |  |         Date startDt ; | 
 |  |  |         Date endDt ; | 
 |  |  |         List<StLossMonth> list ; |