add:增加对账报表,增加回传管理billCode字段关联出入库单
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
package org.nl.wms.bi_manage.controller;
|
||||
|
||||
import org.nl.common.base.ResponseData;
|
||||
import org.nl.common.logging.annotation.Log;
|
||||
import org.nl.wms.bi_manage.service.IBiStockService;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.http.ResponseEntity;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/bi")
|
||||
public class BiController {
|
||||
|
||||
@Autowired
|
||||
private IBiStockService biStockService;
|
||||
|
||||
@GetMapping("/reconcile")
|
||||
@Log("库存对账")
|
||||
public ResponseEntity<Object> reconcile(@RequestParam String sectCode,
|
||||
@RequestParam(required = false) String materialCode,
|
||||
@RequestParam(required = false) Boolean onlyDiff) {
|
||||
return ResponseData.build(biStockService.reconcile(sectCode, materialCode, onlyDiff));
|
||||
}
|
||||
|
||||
@GetMapping("/reconcile/download")
|
||||
@Log("导出库存对账")
|
||||
public void download(@RequestParam String sectCode,
|
||||
@RequestParam(required = false) String materialCode,
|
||||
@RequestParam(required = false) Boolean onlyDiff,
|
||||
HttpServletResponse response) throws IOException {
|
||||
biStockService.download(sectCode, materialCode, onlyDiff, response);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package org.nl.wms.bi_manage.service;
|
||||
|
||||
import org.nl.wms.bi_manage.service.dto.BiStockReconcileResult;
|
||||
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
|
||||
public interface IBiStockService {
|
||||
|
||||
BiStockReconcileResult reconcile(String sectCode, String materialCode, Boolean onlyDiff);
|
||||
|
||||
void download(String sectCode, String materialCode, Boolean onlyDiff, HttpServletResponse response) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package org.nl.wms.bi_manage.service.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class BiStockReconcileResult {
|
||||
private String sectCode;
|
||||
/**
|
||||
* ZD:中鼎仓库;WMS:本地仓库
|
||||
*/
|
||||
private String compareSource;
|
||||
/**
|
||||
* 对比列名称:中鼎库存 / WMS库存
|
||||
*/
|
||||
private String compareSourceName;
|
||||
private List<BiStockReconcileRow> rows = new ArrayList<>();
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package org.nl.wms.bi_manage.service.dto;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
public class BiStockReconcileRow {
|
||||
private String warehouseCode;
|
||||
private String materialCode;
|
||||
private String materialName;
|
||||
private String unitName;
|
||||
private BigDecimal easQty;
|
||||
private BigDecimal compareQty;
|
||||
private BigDecimal diffQty;
|
||||
/**
|
||||
* 双方数量不一致,或一方没有库存
|
||||
*/
|
||||
private Boolean diff;
|
||||
}
|
||||
@@ -0,0 +1,317 @@
|
||||
package org.nl.wms.bi_manage.service.impl;
|
||||
|
||||
import cn.hutool.core.io.IoUtil;
|
||||
import cn.hutool.poi.excel.ExcelUtil;
|
||||
import cn.hutool.poi.excel.ExcelWriter;
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.poi.ss.usermodel.Cell;
|
||||
import org.apache.poi.ss.usermodel.CellStyle;
|
||||
import org.apache.poi.ss.usermodel.FillPatternType;
|
||||
import org.apache.poi.ss.usermodel.IndexedColors;
|
||||
import org.apache.poi.ss.usermodel.Row;
|
||||
import org.apache.poi.ss.usermodel.Sheet;
|
||||
import org.nl.common.exception.BadRequestException;
|
||||
import org.nl.wms.basedata_manage.service.IMdMeMaterialbaseService;
|
||||
import org.nl.wms.basedata_manage.service.dao.MdMeMaterialbase;
|
||||
import org.nl.wms.bi_manage.service.IBiStockService;
|
||||
import org.nl.wms.bi_manage.service.dto.BiStockReconcileResult;
|
||||
import org.nl.wms.bi_manage.service.dto.BiStockReconcileRow;
|
||||
import org.nl.wms.ext_manage.api.EasApi;
|
||||
import org.nl.wms.ext_manage.api.request.QueryEasStockRequest;
|
||||
import org.nl.wms.ext_manage.api.response.QueryEasStockResponse;
|
||||
import org.nl.wms.ext_manage.enums.EXTConstant;
|
||||
import org.nl.wms.ext_manage.service.WmsToZDWmdService;
|
||||
import org.nl.wms.ext_manage.service.dto.ZDInventory;
|
||||
import org.nl.wms.system_manage.service.param.ISysParamService;
|
||||
import org.nl.wms.system_manage.service.param.dao.Param;
|
||||
import org.nl.wms.warehouse_manage.inventory.IStInventoryService;
|
||||
import org.nl.wms.warehouse_manage.inventory.dto.StInventoryDto;
|
||||
import org.nl.wms.warehouse_manage.inventory.dto.StInventoryQuery;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.util.CollectionUtils;
|
||||
|
||||
import javax.servlet.ServletOutputStream;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import java.io.IOException;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.Comparator;
|
||||
import java.util.HashMap;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.LinkedHashSet;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
@Service
|
||||
@Slf4j
|
||||
public class BiStockServiceImpl implements IBiStockService {
|
||||
|
||||
private static final String EAS_ORG_NO = "01.09.14";
|
||||
|
||||
@Autowired
|
||||
private EasApi easApi;
|
||||
@Autowired
|
||||
private WmsToZDWmdService wmsToZDWmdService;
|
||||
@Autowired
|
||||
private IStInventoryService iStInventoryService;
|
||||
@Autowired
|
||||
private ISysParamService iSysParamService;
|
||||
@Autowired
|
||||
private IMdMeMaterialbaseService iMdMeMaterialbaseService;
|
||||
|
||||
@Override
|
||||
public BiStockReconcileResult reconcile(String sectCode, String materialCode, Boolean onlyDiff) {
|
||||
if (StringUtils.isBlank(sectCode)) {
|
||||
throw new BadRequestException("请选择库区");
|
||||
}
|
||||
sectCode = sectCode.trim();
|
||||
if (StringUtils.isNotBlank(materialCode)) {
|
||||
materialCode = materialCode.trim();
|
||||
}
|
||||
|
||||
QueryEasStockRequest easRequest = new QueryEasStockRequest();
|
||||
easRequest.setOrgno(EAS_ORG_NO);
|
||||
easRequest.setWarehouseno(sectCode);
|
||||
if (StringUtils.isNotBlank(materialCode)) {
|
||||
easRequest.setMaterialno(materialCode);
|
||||
}
|
||||
List<QueryEasStockResponse> easStocks = easApi.queryStock(easRequest);
|
||||
if (easStocks == null) {
|
||||
easStocks = new ArrayList<>();
|
||||
}
|
||||
|
||||
Param zdStorParam = iSysParamService.findByCode(EXTConstant.ZD_STOR_SET);
|
||||
List ZD_STOR_SET;
|
||||
if (zdStorParam != null) {
|
||||
ZD_STOR_SET = JSONObject.parseObject(zdStorParam.getValue(), List.class);
|
||||
} else {
|
||||
ZD_STOR_SET = new ArrayList<>();
|
||||
}
|
||||
boolean zdStor = ZD_STOR_SET != null && ZD_STOR_SET.contains(sectCode);
|
||||
|
||||
Map<String, BigDecimal> localQtyMap = new HashMap<>();
|
||||
Map<String, String> localNameMap = new HashMap<>();
|
||||
Map<String, String> localUnitMap = new HashMap<>();
|
||||
if (zdStor) {
|
||||
List<ZDInventory> zdInventories = wmsToZDWmdService.queryInventoryByHouseCode(sectCode);
|
||||
if (zdInventories == null) {
|
||||
zdInventories = new ArrayList<>();
|
||||
}
|
||||
for (ZDInventory inventory : zdInventories) {
|
||||
String skuCode = StringUtils.trimToEmpty(inventory.getSkuCode());
|
||||
if (StringUtils.isBlank(skuCode) || !matchMaterial(skuCode, materialCode)) {
|
||||
continue;
|
||||
}
|
||||
localQtyMap.merge(skuCode, nvl(inventory.getQty()), BigDecimal::add);
|
||||
}
|
||||
} else {
|
||||
List<StInventoryDto> inventoryDtos = iStInventoryService.queryInventory(
|
||||
StInventoryQuery.builder()
|
||||
.sectCode(Collections.singletonList(sectCode))
|
||||
.build());
|
||||
if (inventoryDtos == null) {
|
||||
inventoryDtos = new ArrayList<>();
|
||||
}
|
||||
for (StInventoryDto inventory : inventoryDtos) {
|
||||
String skuCode = StringUtils.trimToEmpty(inventory.getMaterialCode());
|
||||
if (StringUtils.isBlank(skuCode) || !matchMaterial(skuCode, materialCode)) {
|
||||
continue;
|
||||
}
|
||||
localQtyMap.merge(skuCode, nvl(inventory.getQty()), BigDecimal::add);
|
||||
if (StringUtils.isNotBlank(inventory.getMaterialName())) {
|
||||
localNameMap.putIfAbsent(skuCode, inventory.getMaterialName());
|
||||
}
|
||||
if (StringUtils.isNotBlank(inventory.getQtyUnitName())) {
|
||||
localUnitMap.putIfAbsent(skuCode, inventory.getQtyUnitName());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Map<String, BigDecimal> easQtyMap = new HashMap<>();
|
||||
Map<String, String> easNameMap = new HashMap<>();
|
||||
Map<String, String> easUnitMap = new HashMap<>();
|
||||
for (QueryEasStockResponse eas : easStocks) {
|
||||
String skuCode = StringUtils.trimToEmpty(eas.getMaterialno());
|
||||
if (StringUtils.isBlank(skuCode) || !matchMaterial(skuCode, materialCode)) {
|
||||
continue;
|
||||
}
|
||||
easQtyMap.merge(skuCode, parseQty(eas.getQty()), BigDecimal::add);
|
||||
if (StringUtils.isNotBlank(eas.getMaterialname())) {
|
||||
easNameMap.putIfAbsent(skuCode, eas.getMaterialname());
|
||||
}
|
||||
if (StringUtils.isNotBlank(eas.getUnitname())) {
|
||||
easUnitMap.putIfAbsent(skuCode, eas.getUnitname());
|
||||
}
|
||||
}
|
||||
|
||||
Set<String> materialCodes = new LinkedHashSet<>();
|
||||
materialCodes.addAll(easQtyMap.keySet());
|
||||
materialCodes.addAll(localQtyMap.keySet());
|
||||
|
||||
List<BiStockReconcileRow> rows = new ArrayList<>();
|
||||
for (String skuCode : materialCodes) {
|
||||
BigDecimal easQty = normalize(easQtyMap.getOrDefault(skuCode, BigDecimal.ZERO));
|
||||
BigDecimal compareQty = normalize(localQtyMap.getOrDefault(skuCode, BigDecimal.ZERO));
|
||||
BiStockReconcileRow row = new BiStockReconcileRow();
|
||||
row.setWarehouseCode(sectCode);
|
||||
row.setMaterialCode(skuCode);
|
||||
row.setMaterialName(firstNotBlank(easNameMap.get(skuCode), localNameMap.get(skuCode)));
|
||||
row.setUnitName(firstNotBlank(easUnitMap.get(skuCode), localUnitMap.get(skuCode)));
|
||||
row.setEasQty(easQty);
|
||||
row.setCompareQty(compareQty);
|
||||
row.setDiffQty(normalize(easQty.subtract(compareQty)));
|
||||
row.setDiff(easQty.compareTo(compareQty) != 0);
|
||||
rows.add(row);
|
||||
}
|
||||
if (Boolean.TRUE.equals(onlyDiff)) {
|
||||
rows.removeIf(row -> !Boolean.TRUE.equals(row.getDiff()));
|
||||
}
|
||||
fillMaterialInfo(rows);
|
||||
rows.sort(Comparator
|
||||
.comparing(BiStockReconcileRow::getDiff, Comparator.nullsLast(Comparator.reverseOrder()))
|
||||
.thenComparing(BiStockReconcileRow::getMaterialCode, Comparator.nullsLast(String::compareTo)));
|
||||
|
||||
BiStockReconcileResult result = new BiStockReconcileResult();
|
||||
result.setSectCode(sectCode);
|
||||
result.setCompareSource(zdStor ? "ZD" : "WMS");
|
||||
result.setCompareSourceName(zdStor ? "中鼎库存" : "WMS库存");
|
||||
result.setRows(rows);
|
||||
log.info("库存对账 sectCode={}, source={}, easSize={}, localSize={}, rowSize={}",
|
||||
sectCode, result.getCompareSource(), easStocks.size(), localQtyMap.size(), rows.size());
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void download(String sectCode, String materialCode, Boolean onlyDiff, HttpServletResponse response) throws IOException {
|
||||
BiStockReconcileResult result = reconcile(sectCode, materialCode, onlyDiff);
|
||||
List<BiStockReconcileRow> rows = result.getRows();
|
||||
String compareName = result.getCompareSourceName();
|
||||
List<Map<String, Object>> excelRows = new ArrayList<>();
|
||||
for (BiStockReconcileRow row : rows) {
|
||||
Map<String, Object> excelRow = new LinkedHashMap<>();
|
||||
excelRow.put("仓库编号", row.getWarehouseCode());
|
||||
excelRow.put("物料编码", row.getMaterialCode());
|
||||
excelRow.put("物料名称", row.getMaterialName());
|
||||
excelRow.put("单位", row.getUnitName());
|
||||
excelRow.put("EAS库存", row.getEasQty());
|
||||
excelRow.put(compareName, row.getCompareQty());
|
||||
excelRow.put("差异", row.getDiffQty());
|
||||
excelRows.add(excelRow);
|
||||
}
|
||||
ExcelWriter writer = ExcelUtil.getWriter(true);
|
||||
if (excelRows.isEmpty()) {
|
||||
writer.writeHeadRow(Arrays.asList("仓库编号", "物料编码", "物料名称", "单位", "EAS库存", compareName, "差异"));
|
||||
} else {
|
||||
writer.write(excelRows, true);
|
||||
}
|
||||
markDiffRows(writer, rows);
|
||||
for (int i = 0; i < 7; i++) {
|
||||
writer.setColumnWidth(i, 18);
|
||||
}
|
||||
response.setContentType("application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8");
|
||||
response.setHeader("Content-Disposition", "attachment;filename=stock-reconcile.xlsx");
|
||||
ServletOutputStream out = response.getOutputStream();
|
||||
writer.flush(out, true);
|
||||
IoUtil.close(out);
|
||||
}
|
||||
|
||||
private void markDiffRows(ExcelWriter writer, List<BiStockReconcileRow> rows) {
|
||||
if (CollectionUtils.isEmpty(rows)) {
|
||||
return;
|
||||
}
|
||||
CellStyle yellowStyle = writer.getWorkbook().createCellStyle();
|
||||
yellowStyle.setFillForegroundColor(IndexedColors.YELLOW.getIndex());
|
||||
yellowStyle.setFillPattern(FillPatternType.SOLID_FOREGROUND);
|
||||
Sheet sheet = writer.getSheet();
|
||||
for (int i = 0; i < rows.size(); i++) {
|
||||
if (!Boolean.TRUE.equals(rows.get(i).getDiff())) {
|
||||
continue;
|
||||
}
|
||||
Row row = sheet.getRow(i + 1);
|
||||
if (row == null) {
|
||||
continue;
|
||||
}
|
||||
short lastCell = row.getLastCellNum();
|
||||
for (int c = 0; c < lastCell; c++) {
|
||||
Cell cell = row.getCell(c);
|
||||
if (cell != null) {
|
||||
cell.setCellStyle(yellowStyle);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private void fillMaterialInfo(List<BiStockReconcileRow> rows) {
|
||||
List<String> codes = new ArrayList<>();
|
||||
for (BiStockReconcileRow row : rows) {
|
||||
if (StringUtils.isBlank(row.getMaterialName()) || StringUtils.isBlank(row.getUnitName())) {
|
||||
codes.add(row.getMaterialCode());
|
||||
}
|
||||
}
|
||||
if (codes.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
Map<String, MdMeMaterialbase> materialMap = new HashMap<>();
|
||||
int batchSize = 500;
|
||||
for (int i = 0; i < codes.size(); i += batchSize) {
|
||||
List<String> part = codes.subList(i, Math.min(i + batchSize, codes.size()));
|
||||
List<MdMeMaterialbase> materials = iMdMeMaterialbaseService.list(
|
||||
new LambdaQueryWrapper<MdMeMaterialbase>().in(MdMeMaterialbase::getMaterial_code, part));
|
||||
if (materials == null) {
|
||||
continue;
|
||||
}
|
||||
for (MdMeMaterialbase material : materials) {
|
||||
materialMap.put(material.getMaterial_code(), material);
|
||||
}
|
||||
}
|
||||
for (BiStockReconcileRow row : rows) {
|
||||
MdMeMaterialbase material = materialMap.get(row.getMaterialCode());
|
||||
if (material == null) {
|
||||
continue;
|
||||
}
|
||||
if (StringUtils.isBlank(row.getMaterialName())) {
|
||||
row.setMaterialName(material.getMaterial_name());
|
||||
}
|
||||
if (StringUtils.isBlank(row.getUnitName())) {
|
||||
row.setUnitName(material.getQty_unit_name());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private BigDecimal parseQty(String qty) {
|
||||
if (StringUtils.isBlank(qty)) {
|
||||
return BigDecimal.ZERO;
|
||||
}
|
||||
try {
|
||||
return new BigDecimal(qty.trim());
|
||||
} catch (NumberFormatException e) {
|
||||
return BigDecimal.ZERO;
|
||||
}
|
||||
}
|
||||
|
||||
private BigDecimal nvl(BigDecimal value) {
|
||||
return value == null ? BigDecimal.ZERO : value;
|
||||
}
|
||||
|
||||
private BigDecimal normalize(BigDecimal value) {
|
||||
if (value == null || value.signum() == 0) {
|
||||
return BigDecimal.ZERO;
|
||||
}
|
||||
return value.stripTrailingZeros();
|
||||
}
|
||||
|
||||
private boolean matchMaterial(String skuCode, String materialCode) {
|
||||
return StringUtils.isBlank(materialCode) || StringUtils.containsIgnoreCase(skuCode, materialCode);
|
||||
}
|
||||
|
||||
private String firstNotBlank(String first, String second) {
|
||||
return StringUtils.isNotBlank(first) ? first : second;
|
||||
}
|
||||
}
|
||||
@@ -298,19 +298,19 @@ public class PurchaseServiceImpl extends ServiceImpl<PurchasemstMapper, Purchase
|
||||
row.put("qty_unit_name", detail.getUnit());
|
||||
row.put("qty", detail.getQty());
|
||||
row.put("pcsn", detail.getBatch_no());
|
||||
row.put("source_bill_code", purchase.getBill_id());
|
||||
row.put("source_bill_type", SourceBillTypeEnum.PM_PURCHASE.getBillType());
|
||||
row.put("source_bill_code", purchase.getOrder_no());
|
||||
row.put("source_bill_type", purchase.getOrder_type());
|
||||
row.put("source_billdtl_id", detail.getItem_no());
|
||||
row.put("callback_strategy", "dealPurchaseRecBillCallback");
|
||||
row.put("remark", "关联单据:" + purchase.getOrder_no());
|
||||
row.put("remark", "关联单据:" + purchase.getBill_id());
|
||||
tableData.add(row);
|
||||
}
|
||||
|
||||
JSONObject billParam = new JSONObject();
|
||||
billParam.put("stor_code", houseCode);
|
||||
billParam.put("biz_date", DateUtil.today());
|
||||
billParam.put("bill_type", IOSEnum.BILL_TYPE.code("生产出库"));
|
||||
billParam.put("remark", "关联单号:" + purchase.getOrder_no());
|
||||
billParam.put("bill_type", purchase.getOrder_type());
|
||||
billParam.put("remark", "关联单号:" + purchase.getBill_id());
|
||||
billParam.put("tableData", tableData);
|
||||
return billParam;
|
||||
}
|
||||
|
||||
@@ -84,8 +84,8 @@ public enum IOSEnum {
|
||||
|
||||
public String check(String code) {
|
||||
for (Map.Entry<String, String> entry : this.getCode().entrySet())
|
||||
if (entry.getValue().equals("code")) {
|
||||
return entry.getValue();
|
||||
if (entry.getValue().equals(code)) {
|
||||
return entry.getKey();
|
||||
}
|
||||
throw new BadRequestException(this.name() + "对应类型" + code + "未定义");
|
||||
}
|
||||
|
||||
@@ -8,14 +8,17 @@
|
||||
g.pcsn as pcsn,
|
||||
s.stor_name as storName,
|
||||
g.material_code as materialCode,
|
||||
MAX(g.qty_unit_name) AS qtyUnitName,
|
||||
SUM(g.frozen_qty) AS frozenQty, -- 可用库存
|
||||
SUM(g.qty) AS qty -- 总库存
|
||||
FROM md_pb_groupplate g
|
||||
INNER JOIN st_ivt_structattr s
|
||||
ON g.storagevehicle_code = s.storagevehicle_code
|
||||
WHERE g.material_code = #{query.materialCode}
|
||||
AND g.status = '02' -- 排除已移除/已禁用的组盘记录
|
||||
WHERE g.status = '02' -- 排除已移除/已禁用的组盘记录
|
||||
AND s.is_used = 1 -- 只统计启用的仓位
|
||||
<if test="query.materialCode != null and query.materialCode != ''">
|
||||
AND g.material_code = #{query.materialCode}
|
||||
</if>
|
||||
<if test="query.sectCode != null and query.sectCode.size() > 0">
|
||||
AND sect_code IN
|
||||
<foreach collection="query.sectCode" item="sect" open="(" separator="," close=")">
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
<if test="query.material_code != null and query.material_code != ''">
|
||||
and material.material_code LIKE '%${query.material_code}%'
|
||||
</if>
|
||||
<if test="query.sect_code != null and query.sect_code != ''">
|
||||
and struct_flow.sect_code = #{query.sect_code}
|
||||
</if>
|
||||
<if test="query.vehicle_code != null and query.vehicle_code != ''">
|
||||
and struct_flow.vehicle_code LIKE '%${query.vehicle_code}%'
|
||||
</if>
|
||||
|
||||
@@ -15,4 +15,5 @@ public class StructIvtFlowQuery extends BaseQuery<StIvtStructivtflow> {
|
||||
private String material_code;
|
||||
private String vehicle_code;
|
||||
private String pcsn;
|
||||
private String sect_code;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user