代码更新
This commit is contained in:
@@ -68,7 +68,7 @@
|
|||||||
IF 输入.flag = "2"
|
IF 输入.flag = "2"
|
||||||
QUERY
|
QUERY
|
||||||
SELECT
|
SELECT
|
||||||
cust_name AS value,
|
cust_code AS value,
|
||||||
cust_name AS label
|
cust_name AS label
|
||||||
FROM
|
FROM
|
||||||
MD_CS_TransportationBase
|
MD_CS_TransportationBase
|
||||||
|
|||||||
@@ -2280,6 +2280,8 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
|||||||
Long currentUserId = SecurityUtils.getCurrentUserId();
|
Long currentUserId = SecurityUtils.getCurrentUserId();
|
||||||
String nickName = SecurityUtils.getCurrentNickName();
|
String nickName = SecurityUtils.getCurrentNickName();
|
||||||
String now = DateUtil.now();
|
String now = DateUtil.now();
|
||||||
|
// 1.查询此任务是否有任务组
|
||||||
|
// 2.有任务组:按照执行顺序下发
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@@ -2522,6 +2524,7 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
|||||||
WQLObject dtlTab = WQLObject.getWQLObject("st_ivt_iostorinvdtl"); // 出入库明细表
|
WQLObject dtlTab = WQLObject.getWQLObject("st_ivt_iostorinvdtl"); // 出入库明细表
|
||||||
WQLObject disTab = WQLObject.getWQLObject("st_ivt_iostorinvdis"); // 出入库分配明细
|
WQLObject disTab = WQLObject.getWQLObject("st_ivt_iostorinvdis"); // 出入库分配明细
|
||||||
WQLObject subTab = WQLObject.getWQLObject("pdm_bi_subpackagerelation"); // 子卷包装关系表
|
WQLObject subTab = WQLObject.getWQLObject("pdm_bi_subpackagerelation"); // 子卷包装关系表
|
||||||
|
WQLObject tranTab = WQLObject.getWQLObject("MD_CS_TransportationBase"); // 物流公司表
|
||||||
|
|
||||||
JSONObject jsonMst = mstTab.query("iostorinv_id = '" + MapUtil.getStr(whereJson, "iostorinv_id") + "'").uniqueResult(0);
|
JSONObject jsonMst = mstTab.query("iostorinv_id = '" + MapUtil.getStr(whereJson, "iostorinv_id") + "'").uniqueResult(0);
|
||||||
String cust_code = jsonMst.getString("cust_code");
|
String cust_code = jsonMst.getString("cust_code");
|
||||||
@@ -2561,7 +2564,11 @@ public class CheckOutBillServiceImpl implements CheckOutBillService {
|
|||||||
oneMap.put("receiver", jsonMst.getString("receiver")); // 收货人
|
oneMap.put("receiver", jsonMst.getString("receiver")); // 收货人
|
||||||
oneMap.put("receiptaddress", jsonMst.getString("receiptaddress")); // 收货地址
|
oneMap.put("receiptaddress", jsonMst.getString("receiptaddress")); // 收货地址
|
||||||
oneMap.put("receiptphone", jsonMst.getString("receiptphone")); // 收货人联系电话
|
oneMap.put("receiptphone", jsonMst.getString("receiptphone")); // 收货人联系电话
|
||||||
oneMap.put("logisticscompany", jsonMst.getString("logisticscompany")); // 物流公司
|
// 物流公司
|
||||||
|
JSONObject jsonTran = tranTab.query("cust_code = '" + jsonMst.getString("trans_code") + "'").uniqueResult(0);
|
||||||
|
if (ObjectUtil.isNotEmpty(jsonTran)) {
|
||||||
|
oneMap.put("logisticscompany", jsonTran.getString("cust_name"));
|
||||||
|
}
|
||||||
oneMap.put("drivername", jsonMst.getString("drivername")); // 司机
|
oneMap.put("drivername", jsonMst.getString("drivername")); // 司机
|
||||||
oneMap.put("carno", jsonMst.getString("carno")); // 车牌号
|
oneMap.put("carno", jsonMst.getString("carno")); // 车牌号
|
||||||
oneMap.put("driverphone", jsonMst.getString("driverphone")); // 司机联系电话
|
oneMap.put("driverphone", jsonMst.getString("driverphone")); // 司机联系电话
|
||||||
|
|||||||
Reference in New Issue
Block a user