update 新料号标签打印,增加PET、膜材标签模板
This commit is contained in:
parent
dcb919b97e
commit
729ba0aba4
@ -1854,7 +1854,7 @@ public class BSLabelServiceImpl extends CommonServiceDAO<BSLabelKey, BSLabel> im
|
||||
pr.setPrintRequestID(UUID.randomUUID().toString());
|
||||
LabelParameterObject obj = new LabelParameterObject();
|
||||
List<Map<String, Object>> queryForListProduct = new ArrayList<>();
|
||||
if ("PET标签-电晕.btw".equals(labelAddress)) {
|
||||
if ("PET标签-电晕.btw".equals(labelAddress) || "PET标签-电晕-兴远泰.btw".equals(labelAddress) || "PET标签-涂布面.btw".equals(labelAddress) || "PET标签-涂布面-兴远泰.btw".equals(labelAddress)) {
|
||||
params = new LabelPrintPET().creatLabelPET();
|
||||
labelPath = "C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\WMS\\WHRePrint\\" + labelAddress;
|
||||
pr.setAbsolutePath(labelPath);
|
||||
@ -1967,8 +1967,8 @@ public class BSLabelServiceImpl extends CommonServiceDAO<BSLabelKey, BSLabel> im
|
||||
throw new CustomException(CustomExceptionCode.DATA_ERROR, "要打印的PET标签信息不存在");
|
||||
}
|
||||
|
||||
}else if ("Sdk2.btw".equals(labelAddress)){
|
||||
labelPath = "C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\WMS\\" + labelAddress;
|
||||
}else if ("膜材标签-泗洪.btw".equals(labelAddress) || "膜材标签-太仓.btw".equals(labelAddress) || "膜材标签-东莞.btw".equals(labelAddress) || "膜材标签-重庆.btw".equals(labelAddress) || "膜材标签-越南.btw".equals(labelAddress)){
|
||||
labelPath = "C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\WMS\\WHRePrint\\" + labelAddress;
|
||||
pr.setAbsolutePath(labelPath);
|
||||
if (newMaterialSpecSwitch.equals("Y")){
|
||||
qeuryLabelDatasql = " SELECT\n" +
|
||||
@ -2068,8 +2068,8 @@ public class BSLabelServiceImpl extends CommonServiceDAO<BSLabelKey, BSLabel> im
|
||||
//labelUrl = labelPrintRabbitMQ(obj, requestUrl, pr, params);
|
||||
labelUrl = labelPrint(obj, requestUrl, pr, params);
|
||||
log.info("***************************PrintLabel Use URL is : " + requestUrl);
|
||||
}else if ("胶水原材.btw".equals(labelAddress)){
|
||||
labelPath = "C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\WMS\\" + labelAddress;
|
||||
}else if ("胶水标签.btw".equals(labelAddress)){
|
||||
labelPath = "C:\\inetpub\\wwwroot\\BarTender\\wwwroot\\Templates\\WMS\\WHRePrint\\" + labelAddress;
|
||||
pr.setAbsolutePath(labelPath);
|
||||
if (newMaterialSpecSwitch.equals("Y")){
|
||||
qeuryLabelDatasql = "SELECT\r\n" +
|
||||
|
Loading…
x
Reference in New Issue
Block a user