Compare commits
4 Commits
969c5eb8df
...
dee8259e81
| Author | SHA1 | Date |
|---|---|---|
|
|
dee8259e81 | |
|
|
9be20e6a35 | |
|
|
df06e278f1 | |
|
|
a194ebc294 |
|
|
@ -93,7 +93,7 @@ public class InventoryController extends BaseController {
|
||||||
@GetMapping("check/getTaskItems")
|
@GetMapping("check/getTaskItems")
|
||||||
public ApiResult<List<InventoryCheckTaskItemVO>> getTaskItems(@Valid @RequestParam(required = false) Long id) {
|
public ApiResult<List<InventoryCheckTaskItemVO>> getTaskItems(@Valid @RequestParam(required = false) Long id) {
|
||||||
List<WmsInventoryCheckTaskItem> taskItems = Objects.isNull(id) ? Collections.emptyList() : inventoryCheckTaskItemService.lambdaQuery().eq(WmsInventoryCheckTaskItem::getTaskId, id).list();
|
List<WmsInventoryCheckTaskItem> taskItems = Objects.isNull(id) ? Collections.emptyList() : inventoryCheckTaskItemService.lambdaQuery().eq(WmsInventoryCheckTaskItem::getTaskId, id).list();
|
||||||
List<WarehouseVO> warehouseVOS = warehouseService.getEnableList(null);
|
List<WarehouseSimpleVO> warehouseVOS = warehouseService.getEnableList(null);
|
||||||
List<InventoryCheckTaskItemVO> vos = new ArrayList<>();
|
List<InventoryCheckTaskItemVO> vos = new ArrayList<>();
|
||||||
warehouseVOS.forEach(warehouseVO -> {
|
warehouseVOS.forEach(warehouseVO -> {
|
||||||
WmsInventoryCheckTaskItem item = taskItems.stream().filter(taskItem -> Objects.equals(taskItem.getWarehouseId(), warehouseVO.getId())).findFirst().orElse(null);
|
WmsInventoryCheckTaskItem item = taskItems.stream().filter(taskItem -> Objects.equals(taskItem.getWarehouseId(), warehouseVO.getId())).findFirst().orElse(null);
|
||||||
|
|
@ -107,8 +107,8 @@ public class InventoryController extends BaseController {
|
||||||
.setChargeUserId(Objects.isNull(item) ? null : item.getChargeUserId())
|
.setChargeUserId(Objects.isNull(item) ? null : item.getChargeUserId())
|
||||||
.setChargeUserName(Objects.isNull(item) ? "" : item.getChargeUserName())
|
.setChargeUserName(Objects.isNull(item) ? "" : item.getChargeUserName())
|
||||||
.setAddress(warehouseVO.getAddress())
|
.setAddress(warehouseVO.getAddress())
|
||||||
.setUserName(warehouseVO.getUserName())
|
// .setUserName(warehouseVO.getUserName())
|
||||||
.setPhone(warehouseVO.getPhone())
|
// .setPhone(warehouseVO.getPhone())
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
return ApiResult.success(vos);
|
return ApiResult.success(vos);
|
||||||
|
|
|
||||||
|
|
@ -78,7 +78,7 @@ public class OutPurchaseController extends BaseController {
|
||||||
public ApiResult<ZWM3A05VO> searchSAP(@Valid @RequestBody @NotNull zwm3A05QO request) {
|
public ApiResult<ZWM3A05VO> searchSAP(@Valid @RequestBody @NotNull zwm3A05QO request) {
|
||||||
ZWM3A05VO result = sapService.zwm3A05(request);
|
ZWM3A05VO result = sapService.zwm3A05(request);
|
||||||
result.getItems().parallelStream().forEach(it -> {
|
result.getItems().parallelStream().forEach(it -> {
|
||||||
it.setBinNos(binService.getBinNos(it.getMatnr(), it.getWerks(), it.getLgort()));
|
it.setBinNos(binService.getBinNos(it.getMatnr(), result.getWerks(), it.getLgort()));
|
||||||
});
|
});
|
||||||
return ApiResult.success(result);
|
return ApiResult.success(result);
|
||||||
}
|
}
|
||||||
|
|
@ -107,6 +107,7 @@ public class OutPurchaseController extends BaseController {
|
||||||
item.setId(IdUtil.getSnowflakeNextId());
|
item.setId(IdUtil.getSnowflakeNextId());
|
||||||
item.setOrderId(order.getId());
|
item.setOrderId(order.getId());
|
||||||
item.setNum(BigDecimal.ZERO);
|
item.setNum(BigDecimal.ZERO);
|
||||||
|
item.setWerks(request.getWerks());
|
||||||
if (CollectionUtil.isNotEmpty(it.getQrCodes())) {
|
if (CollectionUtil.isNotEmpty(it.getQrCodes())) {
|
||||||
it.getQrCodes().forEach(qrCode -> {
|
it.getQrCodes().forEach(qrCode -> {
|
||||||
MaterialQRCodeContentDTO dto = NoUtil.getMaterialQRCodeContent(qrCode);
|
MaterialQRCodeContentDTO dto = NoUtil.getMaterialQRCodeContent(qrCode);
|
||||||
|
|
@ -151,7 +152,7 @@ public class OutPurchaseController extends BaseController {
|
||||||
.setErfmg(it.getNum())
|
.setErfmg(it.getNum())
|
||||||
.setMeins(it.getMeins())
|
.setMeins(it.getMeins())
|
||||||
.setCharg(it.getCharg())
|
.setCharg(it.getCharg())
|
||||||
.setWerks(it.getWerks())
|
.setWerks(item.getWerks())
|
||||||
.setLgort(it.getLgort())
|
.setLgort(it.getLgort())
|
||||||
.setLfbja(it.getLfbja())
|
.setLfbja(it.getLfbja())
|
||||||
.setLfbnr(it.getLfbnr())
|
.setLfbnr(it.getLfbnr())
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import com.nflg.wms.common.pojo.qo.EnableQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseAddQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseAddQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseUpdateQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseUpdateQO;
|
||||||
|
import com.nflg.wms.common.pojo.vo.WarehouseSimpleVO;
|
||||||
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
||||||
import com.nflg.wms.repository.entity.DictionaryItem;
|
import com.nflg.wms.repository.entity.DictionaryItem;
|
||||||
import com.nflg.wms.starter.BaseController;
|
import com.nflg.wms.starter.BaseController;
|
||||||
|
|
@ -118,7 +119,7 @@ public class WarehouseController extends BaseController {
|
||||||
* @param factoryNo 工厂编号
|
* @param factoryNo 工厂编号
|
||||||
*/
|
*/
|
||||||
@GetMapping("getEnableList")
|
@GetMapping("getEnableList")
|
||||||
public ApiResult<List<WarehouseVO>> getEnableList(@Valid @RequestParam(required = false) String factoryNo) {
|
public ApiResult<List<WarehouseSimpleVO>> getEnableList(@Valid @RequestParam(required = false) String factoryNo) {
|
||||||
return ApiResult.success(warehouseControllerService.getEnableList(factoryNo));
|
return ApiResult.success(warehouseControllerService.getEnableList(factoryNo));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -149,7 +149,10 @@ public class SapService {
|
||||||
JCoTable ot1 = function.getTableParameterList().getTable("OUTPUT1");
|
JCoTable ot1 = function.getTableParameterList().getTable("OUTPUT1");
|
||||||
VUtil.trueThrowBusinessError(ot1.getNumRows() == 0).throwMessage("没有订单数据");
|
VUtil.trueThrowBusinessError(ot1.getNumRows() == 0).throwMessage("没有订单数据");
|
||||||
ot1.setRow(0);
|
ot1.setRow(0);
|
||||||
ZWM3A05VO vo = new ZWM3A05VO().setEbeln(ot1.getString("EBELN")).setLifnr(ot1.getString("LIFNR"));
|
ZWM3A05VO vo = new ZWM3A05VO()
|
||||||
|
.setEbeln(ot1.getString("EBELN"))
|
||||||
|
.setLifnr(ot1.getString("LIFNR"))
|
||||||
|
.setWerks(ot1.getString("WERKS"));
|
||||||
vo.setItems(JCoUtil.toBeanList(ot1, ZWM3A05ItemVO.class));
|
vo.setItems(JCoUtil.toBeanList(ot1, ZWM3A05ItemVO.class));
|
||||||
|
|
||||||
JCoTable ot2 = function.getTableParameterList().getTable("OUTPUT2");
|
JCoTable ot2 = function.getTableParameterList().getTable("OUTPUT2");
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ import com.nflg.wms.common.pojo.qo.EnableQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseAddQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseAddQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseUpdateQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseUpdateQO;
|
||||||
|
import com.nflg.wms.common.pojo.vo.WarehouseSimpleVO;
|
||||||
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
||||||
import com.nflg.wms.common.util.DateTimeUtil;
|
import com.nflg.wms.common.util.DateTimeUtil;
|
||||||
import com.nflg.wms.common.util.EecExcelUtil;
|
import com.nflg.wms.common.util.EecExcelUtil;
|
||||||
|
|
@ -217,7 +218,7 @@ public class WarehouseControllerService {
|
||||||
.writeTo(response.getOutputStream());
|
.writeTo(response.getOutputStream());
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<WarehouseVO> getEnableList(String factoryNo) {
|
public List<WarehouseSimpleVO> getEnableList(String factoryNo) {
|
||||||
return warehouseService.getEnableList(factoryNo);
|
return warehouseService.getEnableList(factoryNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
package com.nflg.wms.admin.util;
|
package com.nflg.wms.admin.util;
|
||||||
|
|
||||||
import cn.hutool.core.collection.CollectionUtil;
|
import cn.hutool.core.collection.CollectionUtil;
|
||||||
|
import com.fasterxml.jackson.databind.DeserializationFeature;
|
||||||
import com.fasterxml.jackson.databind.MapperFeature;
|
import com.fasterxml.jackson.databind.MapperFeature;
|
||||||
import com.fasterxml.jackson.databind.ObjectMapper;
|
import com.fasterxml.jackson.databind.ObjectMapper;
|
||||||
|
import com.fasterxml.jackson.databind.json.JsonMapper;
|
||||||
import com.nflg.wms.common.util.BeanUtil;
|
import com.nflg.wms.common.util.BeanUtil;
|
||||||
import com.sap.conn.jco.*;
|
import com.sap.conn.jco.*;
|
||||||
|
|
||||||
|
|
@ -11,8 +13,10 @@ import java.util.stream.Collectors;
|
||||||
|
|
||||||
public class JCoUtil {
|
public class JCoUtil {
|
||||||
|
|
||||||
private static final ObjectMapper MAPPER = new ObjectMapper()
|
private static final ObjectMapper MAPPER = JsonMapper.builder()
|
||||||
.configure(MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES, true);
|
.enable(MapperFeature.ACCEPT_CASE_INSENSITIVE_PROPERTIES)
|
||||||
|
.disable(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES)
|
||||||
|
.build();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 将 JCoTable 转换为 Java Bean 列表
|
* 将 JCoTable 转换为 Java Bean 列表
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
package com.nflg.wms.common.pojo.dto;
|
package com.nflg.wms.common.pojo.dto;
|
||||||
|
|
||||||
import cn.hutool.core.util.StrUtil;
|
import cn.hutool.core.util.StrUtil;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonIgnore;
|
||||||
import com.nflg.wms.common.util.BomUtil;
|
import com.nflg.wms.common.util.BomUtil;
|
||||||
import com.nflg.wms.common.util.DateTimeUtil;
|
import com.nflg.wms.common.util.DateTimeUtil;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -118,6 +119,7 @@ public class DepartmentMaterialReturnSlipDTO {
|
||||||
return Objects.isNull(num) ? bdmng : num;
|
return Objects.isNull(num) ? bdmng : num;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@JsonIgnore
|
||||||
private String key;
|
private String key;
|
||||||
|
|
||||||
public String getKey() {
|
public String getKey() {
|
||||||
|
|
|
||||||
|
|
@ -74,13 +74,13 @@ public class InventoryCheckTaskItemVO {
|
||||||
*/
|
*/
|
||||||
private String address;
|
private String address;
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 责任人
|
// * 责任人
|
||||||
*/
|
// */
|
||||||
private String userName;
|
// private String userName;
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* 联系电话
|
// * 联系电话
|
||||||
*/
|
// */
|
||||||
private String phone;
|
// private String phone;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,29 @@
|
||||||
|
package com.nflg.wms.common.pojo.vo;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class WarehouseSimpleVO {
|
||||||
|
|
||||||
|
private Long id;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 仓库编码
|
||||||
|
*/
|
||||||
|
private String no;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 仓库名称
|
||||||
|
*/
|
||||||
|
private String name;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所属工厂名称
|
||||||
|
*/
|
||||||
|
private String factoryName;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 所在地点
|
||||||
|
*/
|
||||||
|
private String address;
|
||||||
|
}
|
||||||
|
|
@ -5,19 +5,7 @@ import lombok.Data;
|
||||||
import java.time.LocalDateTime;
|
import java.time.LocalDateTime;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class WarehouseVO {
|
public class WarehouseVO extends WarehouseSimpleVO {
|
||||||
|
|
||||||
private Long id;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 仓库编码
|
|
||||||
*/
|
|
||||||
private String no;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 仓库名称
|
|
||||||
*/
|
|
||||||
private String name;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 责任人
|
* 责任人
|
||||||
|
|
@ -34,11 +22,6 @@ public class WarehouseVO {
|
||||||
*/
|
*/
|
||||||
private String phone;
|
private String phone;
|
||||||
|
|
||||||
/**
|
|
||||||
* 所在地点
|
|
||||||
*/
|
|
||||||
private String address;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 是否启用
|
* 是否启用
|
||||||
*/
|
*/
|
||||||
|
|
@ -83,9 +66,4 @@ public class WarehouseVO {
|
||||||
* 所属工厂
|
* 所属工厂
|
||||||
*/
|
*/
|
||||||
private Long factoryId;
|
private Long factoryId;
|
||||||
|
|
||||||
/**
|
|
||||||
* 所属工厂名称
|
|
||||||
*/
|
|
||||||
private String factoryName;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package com.nflg.wms.common.pojo.vo;
|
package com.nflg.wms.common.pojo.vo;
|
||||||
|
|
||||||
|
import cn.hutool.core.util.StrUtil;
|
||||||
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
|
||||||
import jakarta.validation.constraints.NotNull;
|
import jakarta.validation.constraints.NotNull;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
@ -18,6 +19,10 @@ public class ZWM3A05ItemVO {
|
||||||
*/
|
*/
|
||||||
private String ebelp;
|
private String ebelp;
|
||||||
|
|
||||||
|
public String getEbelp() {
|
||||||
|
return StrUtil.removeAllPrefix(ebelp, "0");
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 退货项目
|
* 退货项目
|
||||||
*/
|
*/
|
||||||
|
|
@ -74,11 +79,6 @@ public class ZWM3A05ItemVO {
|
||||||
*/
|
*/
|
||||||
private String lgort;
|
private String lgort;
|
||||||
|
|
||||||
/**
|
|
||||||
* 工厂
|
|
||||||
*/
|
|
||||||
private String werks;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 批次号列表
|
* 批次号列表
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,11 @@ public class ZWM3A05VO {
|
||||||
*/
|
*/
|
||||||
private String lifnr;
|
private String lifnr;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 工厂
|
||||||
|
*/
|
||||||
|
private String werks;
|
||||||
|
|
||||||
@Valid
|
@Valid
|
||||||
private List<ZWM3A05ItemVO> items = new ArrayList<>();
|
private List<ZWM3A05ItemVO> items = new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
||||||
|
import com.nflg.wms.common.pojo.vo.WarehouseSimpleVO;
|
||||||
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
||||||
import com.nflg.wms.repository.entity.WmsWarehouse;
|
import com.nflg.wms.repository.entity.WmsWarehouse;
|
||||||
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Param;
|
||||||
|
|
@ -26,7 +27,7 @@ public interface WmsWarehouseMapper extends BaseMapper<WmsWarehouse> {
|
||||||
|
|
||||||
List<WarehouseVO> searchNonPage(@Param("request") WarehouseSearchQO request);
|
List<WarehouseVO> searchNonPage(@Param("request") WarehouseSearchQO request);
|
||||||
|
|
||||||
List<WarehouseVO> getEnableList(String factoryNo);
|
List<WarehouseSimpleVO> getEnableList(String factoryNo);
|
||||||
|
|
||||||
List<WarehouseVO> getListByIds(List<Long> list);
|
List<WarehouseVO> getListByIds(List<Long> list);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
import com.nflg.wms.common.pojo.qo.EnableQO;
|
import com.nflg.wms.common.pojo.qo.EnableQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
||||||
|
import com.nflg.wms.common.pojo.vo.WarehouseSimpleVO;
|
||||||
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
||||||
import com.nflg.wms.repository.entity.WmsWarehouse;
|
import com.nflg.wms.repository.entity.WmsWarehouse;
|
||||||
import jakarta.validation.Valid;
|
import jakarta.validation.Valid;
|
||||||
|
|
@ -37,7 +38,7 @@ public interface IWmsWarehouseService extends IService<WmsWarehouse> {
|
||||||
|
|
||||||
List<WarehouseVO> searchNonPage(@Valid WarehouseSearchQO request);
|
List<WarehouseVO> searchNonPage(@Valid WarehouseSearchQO request);
|
||||||
|
|
||||||
List<WarehouseVO> getEnableList(String factoryNo);
|
List<WarehouseSimpleVO> getEnableList(String factoryNo);
|
||||||
|
|
||||||
List<WarehouseVO> getListByIds(List<Long> list);
|
List<WarehouseVO> getListByIds(List<Long> list);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
import com.nflg.wms.common.pojo.qo.EnableQO;
|
import com.nflg.wms.common.pojo.qo.EnableQO;
|
||||||
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
import com.nflg.wms.common.pojo.qo.WarehouseSearchQO;
|
||||||
|
import com.nflg.wms.common.pojo.vo.WarehouseSimpleVO;
|
||||||
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
import com.nflg.wms.common.pojo.vo.WarehouseVO;
|
||||||
import com.nflg.wms.common.util.UserUtil;
|
import com.nflg.wms.common.util.UserUtil;
|
||||||
import com.nflg.wms.common.util.VUtil;
|
import com.nflg.wms.common.util.VUtil;
|
||||||
|
|
@ -106,7 +107,7 @@ public class WmsWarehouseServiceImpl extends ServiceImpl<WmsWarehouseMapper, Wms
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<WarehouseVO> getEnableList(String factoryNo) {
|
public List<WarehouseSimpleVO> getEnableList(String factoryNo) {
|
||||||
return baseMapper.getEnableList(factoryNo);
|
return baseMapper.getEnableList(factoryNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,7 @@
|
||||||
order by w.id desc
|
order by w.id desc
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getEnableList" resultType="com.nflg.wms.common.pojo.vo.WarehouseVO">
|
<select id="getEnableList" resultType="com.nflg.wms.common.pojo.vo.WarehouseSimpleVO">
|
||||||
select w.*, di.name as factory_name
|
select w.*, di.name as factory_name
|
||||||
from wms_warehouse w
|
from wms_warehouse w
|
||||||
left join dictionary_item di on w.factory_id = di.id
|
left join dictionary_item di on w.factory_id = di.id
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue