rev:logo图标更换 rev:木箱外表打印校验
This commit is contained in:
@@ -116,6 +116,10 @@ public class PrintServiceImpl implements PrintService {
|
||||
|
||||
// 生成txt文件
|
||||
JSONObject jsonPrint = printTab.query("print_id = '" + whereJson.getString("print_type") + "'").uniqueResult(0);
|
||||
if (ObjectUtil.isEmpty(jsonPrint)) {
|
||||
throw new BadRequestException("请选择打印机!");
|
||||
}
|
||||
|
||||
//10.1.3.21/LMSPrinter/
|
||||
String filePath = jsonPrint.getString("print_route") + "外包标签.txt";
|
||||
FileWriter fw = null;
|
||||
|
||||
Reference in New Issue
Block a user