opt:富佳项目优化

This commit is contained in:
2025-10-31 10:00:28 +08:00
parent a6a0bc5f06
commit 3869b2ceeb
4 changed files with 5 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ public class WmsToErpServiceImpl implements WmsToErpService {
String is_connect_erp = SpringContextHolder.getBean(SysParamServiceImpl.class).findByCode(SysParamConstant.IS_CONNECT_ERP).getValue();
if(is_connect_erp.equals("1")){
try {
log.info("instorinfoToErp接口地址------------" +url);
String resultMsg = HttpRequest.post(url)
.body(String.valueOf(whereJson))
.execute().body();
@@ -35,7 +36,7 @@ public class WmsToErpServiceImpl implements WmsToErpService {
String status = result.getString("status");
if (!EXTConstant.ERROR.equals(status)) {
if (EXTConstant.ERROR.equals(status)) {
throw new BadRequestException(result.getString("message"));
}

View File

@@ -119,6 +119,7 @@
pm_form_data
left join md_me_materialbase on pm_form_data.material_code = md_me_materialbase.material_code
<where>
(is_merge = 0 or is_merge is null)
<if test="query.search != null and query.search != ''">
and form_data LIKE '%${query.search}%'
</if>

View File

@@ -137,7 +137,7 @@ public class RetrunServiceImpl extends ServiceImpl<IOStorInvMapper, IOStorInv> i
for (IOStorInvDis disDao : iosDisList) {
JSONObject param = new JSONObject();
// 载具编码
param.put("pallet_sn", disDao.getStoragevehicle_code());
param.put("pallet_sn", mst.getVehicle_code());
param.put("instor_time", mst.getConfirm_time());
param.put("barcode", mst.getBarcode());
wmsToErpService.instorinfoToErp(param);