优化生产制单

This commit is contained in:
Mrking 2024-10-23 22:30:58 +08:00
parent 8a3ddf222f
commit ccf7fa405a
3 changed files with 11 additions and 4 deletions

View File

@ -326,7 +326,7 @@ public class SaleOrderServiceImpl implements SaleOrderService {
Long saleContractId = generateSaleContract(saleOrder,entrys);
String htmlContent = generateHtmlContent(saleContractId);
String fileName = StrUtil.format(pdfPath+"/销售合约_{}",
String fileName = StrUtil.format(pdfPath+"\销售合约_{}",
new Date().getTime());
String templatePath = fileName + ".html";

View File

@ -47,9 +47,9 @@ spring:
primary: master
datasource:
master:
url: jdbc:mysql://127.0.0.1:3306/hangtag?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
url: jdbc:mysql://202.74.40.60:33061/oms-uat?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例
username: root
password: 123456
password: qygo5gYNhivG
# slave: # 模拟从库,可根据自己需要修改
# lazy: true # 开启懒加载,保证启动速度
# url: jdbc:mysql://43.136.71.164:3306/hangtag?allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useUnicode=true&characterEncoding=UTF-8
@ -240,3 +240,4 @@ justauth:
prefix: 'social_auth_state:' # 缓存前缀,目前只对 Redis 缓存生效,默认 JUSTAUTH::STATE::
timeout: 24h # 超时时长,目前只对 Redis 缓存生效,默认 3 分钟

View File

@ -273,4 +273,10 @@ debug: false
# 积木报表配置
jeecg:
jmreport:
saas-mode: tenant
saas-mode: tenant
oms:
partyb: 东莞市网络网纳科技有限公司
partybAddress: 东莞市南城*********
pdfPath: C:\Users\Admin\Desktop\1111111\test