|
@ -183,6 +183,7 @@ public class SysSalesOrderServiceImpl implements ISysSalesOrderService |
|
|
String loginName = ShiroUtils.getLoginName(); |
|
|
String loginName = ShiroUtils.getLoginName(); |
|
|
sysSalesOrder.setCreateBy(loginName); |
|
|
sysSalesOrder.setCreateBy(loginName); |
|
|
sysSalesOrder.setCreateTime(DateUtils.getNowDate()); |
|
|
sysSalesOrder.setCreateTime(DateUtils.getNowDate()); |
|
|
|
|
|
sysSalesOrder.setSalesOrderCode(getId()); |
|
|
int result = sysSalesOrderMapper.insertSysSalesOrder(sysSalesOrder); |
|
|
int result = sysSalesOrderMapper.insertSysSalesOrder(sysSalesOrder); |
|
|
sysSalesOrder.getSalesOrderId(); |
|
|
sysSalesOrder.getSalesOrderId(); |
|
|
int s = sysSalesOrder.getSysSalesOrderChildList().size(); |
|
|
int s = sysSalesOrder.getSysSalesOrderChildList().size(); |
|
@ -256,7 +257,7 @@ public class SysSalesOrderServiceImpl implements ISysSalesOrderService |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public String getId() { |
|
|
public String getId() { |
|
|
return redisCache.generateBillNo("XS"); |
|
|
return redisCache.generateBillNoByYear("XS"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|