|
|
@ -2,6 +2,8 @@ package com.ruoyi.erp.service.impl; |
|
|
|
|
|
|
|
import java.text.SimpleDateFormat; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
import com.ruoyi.common.core.redis.RedisCache; |
|
|
|
import com.ruoyi.common.utils.DateUtils; |
|
|
|
import com.ruoyi.common.utils.ShiroUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
@ -23,6 +25,9 @@ public class ErpCtcServiceImpl implements IErpCtcService |
|
|
|
@Autowired |
|
|
|
private ErpCtcMapper erpCtcMapper; |
|
|
|
|
|
|
|
@Autowired |
|
|
|
private RedisCache redisCache; |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询业务绩效表 |
|
|
|
* |
|
|
@ -127,7 +132,6 @@ public class ErpCtcServiceImpl implements IErpCtcService |
|
|
|
|
|
|
|
@Override |
|
|
|
public String getId() { |
|
|
|
String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); |
|
|
|
return "YWJ" + time.substring(2); |
|
|
|
return redisCache.generateBillNo("YWJX"); |
|
|
|
} |
|
|
|
} |
|
|
|