Commit 8ace6ab235f1e3844aaca5fdf15ea2551c5ab840
1 parent
6037afa1
feat: 问题修复项
1、内部编号处理 '-' 通过接口刷数据处理 2、计算利润率支持全选(根据页面查询条件) 3、计算设计师权重分母对内部编码去重
Showing
2 changed files
with
0 additions
and
38 deletions
src/test/java/BaseTest.java deleted
100644 → 0
1 | -import com.order.erp.AdminApplication; | |
2 | -import org.junit.runner.RunWith; | |
3 | -import org.springframework.boot.test.context.SpringBootTest; | |
4 | -import org.springframework.test.context.junit4.SpringRunner; | |
5 | -import org.springframework.transaction.annotation.Transactional; | |
6 | - | |
7 | -/** | |
8 | - * | |
9 | - */ | |
10 | -@RunWith(SpringRunner.class) | |
11 | -@SpringBootTest(classes = AdminApplication.class) | |
12 | -//主动回滚测试产生的数据 | |
13 | -@Transactional | |
14 | -public class BaseTest { | |
15 | - | |
16 | - | |
17 | -} |
src/test/java/DateTimeUtilTest.java deleted
100644 → 0
1 | -import com.order.erp.common.constant.Constant; | |
2 | -import org.joda.time.format.DateTimeFormat; | |
3 | -import org.joda.time.format.DateTimeFormatter; | |
4 | -import org.junit.Test; | |
5 | - | |
6 | -/** | |
7 | - * @author: xms | |
8 | - * @description: TODO | |
9 | - * @date: 2023/2/10 14:09 | |
10 | - * @version: 1.0 | |
11 | - */ | |
12 | -public class DateTimeUtilTest { | |
13 | - | |
14 | - @Test | |
15 | - public void test() { | |
16 | - String customerCode = "A05/C23063-1"; | |
17 | - String customerCode1 = "A05/C23064"; | |
18 | - System.out.println(customerCode.split("-")[Constant.ZERO]); | |
19 | - System.out.println(customerCode1.split("-")[Constant.ZERO]); | |
20 | - } | |
21 | -} |