到货单批次号生成取业务日期不取系统日期调整
This commit is contained in:
parent
666007b169
commit
78cf765d19
|
@ -754,7 +754,10 @@ public class BatchcodeRulePubServiceImpl implements IBatchcodeRulePubService {
|
||||||
*/
|
*/
|
||||||
private String[] getDateByRuleVO(BatchcodeRuleVO ruleVO) {
|
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 currtYear = String.valueOf(date.getYear());
|
||||||
String currtMonth = String.valueOf(date.getStrMonth());
|
String currtMonth = String.valueOf(date.getStrMonth());
|
||||||
String currtDay = String.valueOf(date.getStrDay());
|
String currtDay = String.valueOf(date.getStrDay());
|
||||||
|
|
Loading…
Reference in New Issue