Commit 6a9ff7ad by huluobin

# 更新

parent 1cb8a2fe
......@@ -6,7 +6,6 @@ import com.bailuntec.domain.dto.TransferTransitQuantity;
import com.bailuntec.domain.entity.DcMidTransit;
import com.bailuntec.domain.example.DcMidTransitExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import java.time.LocalDateTime;
import java.util.List;
......@@ -142,6 +141,11 @@ public interface DcMidTransitMapper {
//todo 慢查询优化
List<PurchaseTransitQuantity> selectQuantityPurchaseTransit();
/**
* 查询调拨在途
*
* @return 调拨在途
*/
List<TransferTransitQuantity> selectQuantityTransferTransit();
void updateOldTransferToZero(@Param("transferModified") String transferModified);
......
......@@ -200,10 +200,12 @@ public class AutoTurnoverJob extends PointJob {
public void autoTurnoverFromStock(DcBaseStock dcBaseStock) {
String queryTime = DateTimeFormatter.ofPattern(CommonConstant.DATE_FORMAT).format(LocalDate.now());
this.autoTurnoverFromStock(queryTime, dcBaseStock);
DcBaseWarehouseMapper dcBaseWarehouseMapper = SessionUtil.getSession().getMapper(DcBaseWarehouseMapper.class);
DcBaseWarehouse dcBaseWarehouse = dcBaseWarehouseMapper.selectByWarehouseCode(dcBaseStock.getWarehouseCode());
this.autoTurnoverFromStock(queryTime, dcBaseStock);
if (!"国内仓".equals(dcBaseWarehouse.getHqType())) {
transferStrategy.set(Constant.OCEAN_HEAD);
......
......@@ -20,7 +20,8 @@ JOB_CRON=0 0 3 * * ?
SHARDING_TOTAL_COUNT=8
JOB_NAME_NE_NORMAL=show-auto-turnover-ne-normal
JOB_CRON_NE_NORMAL=0 0 10 ? * MON
JOB_NAME_INCREMENT=show-auto-turnover-increment5
JOB_CRON_INCREMENT=0 0 14 * * ?
JOB_NAME_INCREMENT=show-auto-turnover-increment6
JOB_CRON_INCREMENT=0 0 13 30 * ?
#JOB_CRON_INCREMENT=0 55 14 * * ?
SHARDING_TOTAL_COUNT_INCREMENT=8
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