代码更新
This commit is contained in:
@@ -44,6 +44,7 @@ public class PrintServiceImpl implements PrintService {
|
||||
@Override
|
||||
public JSONObject customerPrint(JSONObject whereJson) {
|
||||
JSONObject jo = new JSONObject();
|
||||
WQLObject printTab = WQLObject.getWQLObject("pdm_bi_printinfo");
|
||||
|
||||
String box_no = whereJson.getString("box_no");
|
||||
|
||||
@@ -90,7 +91,9 @@ public class PrintServiceImpl implements PrintService {
|
||||
}
|
||||
|
||||
// 生成txt文件
|
||||
String filePath = "//10.1.3.21" + "/LMSPrinter/" + "外包标签.txt";
|
||||
JSONObject jsonPrint = printTab.query("print_id = '" + whereJson.getString("print_id") + "'").uniqueResult(0);
|
||||
//10.1.3.21/LMSPrinter/
|
||||
String filePath = jsonPrint.getString("print_route")+ "外包标签.txt";
|
||||
FileWriter fw = null;
|
||||
try {
|
||||
File file = new File(filePath);
|
||||
|
||||
@@ -2192,8 +2192,6 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
||||
double ceil = Math.ceil(div);
|
||||
Integer integer = Integer.valueOf(String.valueOf(NumberUtil.round(ceil, 0)));
|
||||
|
||||
|
||||
|
||||
ArrayList<HashMap<String, Object>> flData = new ArrayList<>();
|
||||
for (int i = j * shd_dtl_num; i < (j + 1) * shd_dtl_num; i++) {
|
||||
if (i == dtlArr.size()) {
|
||||
@@ -2217,13 +2215,6 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
||||
}
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
double ceil = Math.ceil(2.2);
|
||||
Integer integer = Integer.valueOf(String.valueOf(NumberUtil.round(ceil, 0)));
|
||||
System.out.println(integer);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新主表状态
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user