opt:处理代码冲突
This commit is contained in:
@@ -209,15 +209,15 @@ public class AutoRiKuServiceImpl implements AutoRiKuService {
|
||||
|
||||
@Override
|
||||
public JSONObject queryNum(JSONObject whereJson) {
|
||||
WQLObject pointTab = WQLObject.getWQLObject("sch_base_point");
|
||||
WQLObject schBasePointService = WQLObject.getWQLObject("sch_base_point");
|
||||
|
||||
String layer_num = whereJson.getString("layer_num");
|
||||
|
||||
// 有货个数
|
||||
JSONArray haveMoney = pointTab.query("layer_num = '" + layer_num + "' and point_type = '9' and IFNULL(vehicle_code,'')<>'' and is_delete = '0' and is_used = '1'").getResultJSONArray(0);
|
||||
JSONArray haveMoney = schBasePointService.query("layer_num = '" + layer_num + "' and point_type = '9' and IFNULL(vehicle_code,'')<>'' and is_delete = '0' and is_used = '1'").getResultJSONArray(0);
|
||||
|
||||
// 无货个数
|
||||
JSONArray unMoney = pointTab.query("layer_num = '" + layer_num + "' and point_type = '9' and IFNULL(vehicle_code,'')='' and is_delete = '0' and is_used = '1'").getResultJSONArray(0);
|
||||
JSONArray unMoney = schBasePointService.query("layer_num = '" + layer_num + "' and point_type = '9' and IFNULL(vehicle_code,'')='' and is_delete = '0' and is_used = '1'").getResultJSONArray(0);
|
||||
|
||||
JSONObject result = new JSONObject();
|
||||
result.put("haveMoney", haveMoney.size());
|
||||
|
||||
Reference in New Issue
Block a user