add:增加库存变动条件查询;

opt:修改连接acs超时时间
This commit is contained in:
2025-01-06 12:02:03 +08:00
parent 30150fd2bb
commit b0210e70ae
4 changed files with 14 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ public class InterationUtil {
String url = acsUrl + api; String url = acsUrl + api;
try { try {
HttpResponse execute = HttpRequest.post(url) HttpResponse execute = HttpRequest.post(url)
.timeout(3000) .timeout(15000)
.body(String.valueOf(param)) .body(String.valueOf(param))
.execute(); .execute();
JSONObject response = JSONObject.parseObject(execute.body()); JSONObject response = JSONObject.parseObject(execute.body());

View File

@@ -18,6 +18,15 @@
and (struct.struct_code LIKE '%${query.search}%' and (struct.struct_code LIKE '%${query.search}%'
or struct.struct_name LIKE '%${query.search}%') or struct.struct_name LIKE '%${query.search}%')
</if> </if>
<if test="query.material_code != null and query.material_code != ''">
and material.material_code LIKE '%${query.material_code}%'
</if>
<if test="query.vehicle_code != null and query.vehicle_code != ''">
and struct_flow.vehicle_code LIKE '%${query.vehicle_code}%'
</if>
<if test="query.pcsn != null and query.pcsn != ''">
and struct_flow.pcsn = '${query.pcsn}'
</if>
<if test="query.start_time != null and query.start_time != ''"> <if test="query.start_time != null and query.start_time != ''">
and struct_flow.update_time >= #{query.start_time} and struct_flow.update_time >= #{query.start_time}
</if> </if>

View File

@@ -14,4 +14,7 @@ import org.nl.wms.stor_manage.record.service.dao.StIvtStructivtflow;
public class StructIvtFlowQuery extends BaseQuery<StIvtStructivtflow> { public class StructIvtFlowQuery extends BaseQuery<StIvtStructivtflow> {
private String search; private String search;
private String material_code;
private String vehicle_code;
private String pcsn;
} }

View File

@@ -5,6 +5,7 @@ export function getLogData(param) {
url: '/api/esLog/query', url: '/api/esLog/query',
method: 'post', method: 'post',
data: param data: param
}) })
} }