Commit bb9203b9 by huluobin

# update

parent 8af62b9a
......@@ -687,6 +687,14 @@ public class AutoTurnoverJob extends PointJob {
forecastFluctuationList,
forecastShortSupplyList,
dcBaseStock);
} else {
try {
DcAutoForecastFluctuationMapper dcAutoForecastFluctuationMapper = SessionUtil.getSession().getMapper(DcAutoForecastFluctuationMapper.class);
dcAutoForecastFluctuationMapper.deleteByExample(DcAutoForecastFluctuationExample.newAndCreateCriteria()
.andBailunSkuEqualTo(bailunSku)
.andWarehouseCodeEqualTo(warehouseCode)
.example());
}
}
//拿一下2倍周转期内的入库总数
......
......@@ -4,7 +4,6 @@ import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.event.AnalysisEventListener;
import com.alibaba.fastjson.JSON;
import com.bailuntec.domain.constant.CommonConstant;
import com.bailuntec.domain.entity.DcAutoTurnover;
import com.bailuntec.domain.entity.DcBaseStock;
import com.bailuntec.domain.entity.JobPointLog;
import com.bailuntec.domain.entity.SalesDayConfig;
......@@ -252,17 +251,14 @@ public class AutoTurnoverTest {
}
});
}
//LM-EO-007,MMDUSFBA
@Transactional
@Test
public void testXX2() {
DcBaseStock dcBaseStock = SessionUtil.getSession().getMapper(DcBaseStockMapper.class)
.selectOneByExample(DcBaseStockExample.newAndCreateCriteria()
.andBailunSkuEqualTo("946859701")
.andBailunSkuEqualTo("949980008")
.andWarehouseCodeEqualTo("GZBLWH")
.example());
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