fix: 分拣叫料校验、看板更新
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package org.nl.ext;
|
||||
|
||||
import cn.hutool.core.date.DateUtil;
|
||||
import cn.hutool.core.util.NumberUtil;
|
||||
import com.alibaba.fastjson.JSONArray;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import org.junit.jupiter.api.Test;
|
||||
@@ -11,6 +12,7 @@ import org.nl.wms.ext.mes.service.dao.mapper.MesRequestMapper;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
import java.text.ParseException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
@@ -137,7 +139,13 @@ public class TestDemo {
|
||||
}
|
||||
|
||||
@Test
|
||||
void test04() {
|
||||
void testData() {
|
||||
System.out.println(DateUtil.format(DateUtil.parse(DateUtil.today()), "yyyy年MM月dd日"));
|
||||
}
|
||||
@Test
|
||||
void testAdd() {
|
||||
BigDecimal realQty = new BigDecimal(15);
|
||||
Integer materialQty = 12;
|
||||
System.out.println(NumberUtil.add(realQty, materialQty));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user