Commit 43afdd12 by wutong

自动周转对于JIT的不做冗余和缺货预测 实际冗余和实际缺货也不用提醒

parent 9fa2ce23
......@@ -11,6 +11,11 @@ public interface Constant {
String NAN_STRING = "N/A";
String PURCHASE_SIGN = "p_";
String TRANSFER_SIGN = "t_";
//自动周转JIT的 可以不做 冗余 和 缺货预测 实际冗余和实际缺货也不用提醒
//这三个采购都是美甲和精油的, 都是JIT的
String BUYER_JIT_1 = "张莹霞";
String BUYER_JIT_2 = "张莹霞1";
String BUYER_JIT_3 = "冯兆欣";
BigDecimal BIGDECIMAL_FOURTEEN = BigDecimal.valueOf(14);
BigDecimal BIGDECIMAL_SEVEN = BigDecimal.valueOf(7);
BigDecimal BIGDECIMAL_THREE = BigDecimal.valueOf(3);
......
......@@ -107,5 +107,12 @@ public class AutoTurnoverTest {
AutoTurnoverJobListener autoTurnoverJobListener = new AutoTurnoverJobListener();
autoTurnoverJobListener.afterJobExecuted(null);
}
@Test
public void test55() {
LocalDateTime recordTime = LocalDateTime.now();
LocalDateTime finalEstimatedArrivalTime = LocalDateTime.now().minusDays(1);
int interval = Period.between(recordTime.toLocalDate(), finalEstimatedArrivalTime.toLocalDate()).getDays();
System.out.println(interval);
}
}
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