Commit bb9203b9 by huluobin

# update

parent 8af62b9a
...@@ -687,6 +687,14 @@ public class AutoTurnoverJob extends PointJob { ...@@ -687,6 +687,14 @@ public class AutoTurnoverJob extends PointJob {
forecastFluctuationList, forecastFluctuationList,
forecastShortSupplyList, forecastShortSupplyList,
dcBaseStock); dcBaseStock);
} else {
try {
DcAutoForecastFluctuationMapper dcAutoForecastFluctuationMapper = SessionUtil.getSession().getMapper(DcAutoForecastFluctuationMapper.class);
dcAutoForecastFluctuationMapper.deleteByExample(DcAutoForecastFluctuationExample.newAndCreateCriteria()
.andBailunSkuEqualTo(bailunSku)
.andWarehouseCodeEqualTo(warehouseCode)
.example());
}
} }
//拿一下2倍周转期内的入库总数 //拿一下2倍周转期内的入库总数
......
...@@ -4,7 +4,6 @@ import com.alibaba.excel.context.AnalysisContext; ...@@ -4,7 +4,6 @@ import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener; import com.alibaba.excel.event.AnalysisEventListener;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.bailuntec.domain.constant.CommonConstant; import com.bailuntec.domain.constant.CommonConstant;
import com.bailuntec.domain.entity.DcAutoTurnover;
import com.bailuntec.domain.entity.DcBaseStock; import com.bailuntec.domain.entity.DcBaseStock;
import com.bailuntec.domain.entity.JobPointLog; import com.bailuntec.domain.entity.JobPointLog;
import com.bailuntec.domain.entity.SalesDayConfig; import com.bailuntec.domain.entity.SalesDayConfig;
...@@ -252,17 +251,14 @@ public class AutoTurnoverTest { ...@@ -252,17 +251,14 @@ public class AutoTurnoverTest {
} }
}); });
} }
//LM-EO-007,MMDUSFBA
@Transactional @Transactional
@Test @Test
public void testXX2() { public void testXX2() {
DcBaseStock dcBaseStock = SessionUtil.getSession().getMapper(DcBaseStockMapper.class) DcBaseStock dcBaseStock = SessionUtil.getSession().getMapper(DcBaseStockMapper.class)
.selectOneByExample(DcBaseStockExample.newAndCreateCriteria() .selectOneByExample(DcBaseStockExample.newAndCreateCriteria()
.andBailunSkuEqualTo("946859701") .andBailunSkuEqualTo("949980008")
.andWarehouseCodeEqualTo("GZBLWH") .andWarehouseCodeEqualTo("GZBLWH")
.example()); .example());
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment