opt:优化打印
This commit is contained in:
@@ -399,7 +399,8 @@ public class PrintServiceImpl implements PrintService {
|
|||||||
// 生成txt文件
|
// 生成txt文件
|
||||||
JSONObject jsonPrint = printTab.query("print_id = '" + whereJson.getString("print_type") + "'").uniqueResult(0);
|
JSONObject jsonPrint = printTab.query("print_id = '" + whereJson.getString("print_type") + "'").uniqueResult(0);
|
||||||
//10.1.3.21/LMSPrinter/
|
//10.1.3.21/LMSPrinter/
|
||||||
String filePath = jsonPrint.getString("print_route") + "外包标签.txt";
|
String time = String.valueOf(DateUtil.current());
|
||||||
|
String filePath = jsonPrint.getString("print_route") +time+"外包标签.txt";
|
||||||
FileWriter fw = null;
|
FileWriter fw = null;
|
||||||
try {
|
try {
|
||||||
File file = new File(filePath);
|
File file = new File(filePath);
|
||||||
|
|||||||
Reference in New Issue
Block a user