到货单批次号生成取业务日期不取系统日期调整

This commit is contained in:
mzr 2024-10-29 13:13:55 +08:00
parent 666007b169
commit 78cf765d19
1 changed files with 4 additions and 1 deletions

View File

@ -754,7 +754,10 @@ public class BatchcodeRulePubServiceImpl implements IBatchcodeRulePubService {
*/
private String[] getDateByRuleVO(BatchcodeRuleVO ruleVO) {
// 获得当前的年月日
UFDate date = TimeUtils.getsrvBaseDate();
// UFDate date = TimeUtils.getsrvBaseDate();
// 到货单批次号生成取业务日期不取系统日期
long ts = InvocationInfoProxy.getInstance().getBizDateTime();
UFDate date = UFDate.getDate(ts);
String currtYear = String.valueOf(date.getYear());
String currtMonth = String.valueOf(date.getStrMonth());
String currtDay = String.valueOf(date.getStrDay());