提交 f44245a1 作者: zhangqiliang

提供一个接口,用于主干获取仓库表中的信息

父级 58e4d707
package com.boco.nbd.wios.manage.entity.bo;
import com.ihidea.core.base.CoreEntity;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
/**
* @author zhangqiliang
*/
public class WarehouseDetail extends CoreEntity {
private String id;
private String name;
private String receivePeople;
private String receivePhone;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getReceivePeople() {
return receivePeople;
}
public void setReceivePeople(String receivePeople) {
this.receivePeople = receivePeople;
}
public String getReceivePhone() {
return receivePhone;
}
public void setReceivePhone(String receivePhone) {
this.receivePhone = receivePhone;
}
}
\ No newline at end of file
...@@ -86,11 +86,11 @@ public class WallboxApplyInstallListVO { ...@@ -86,11 +86,11 @@ public class WallboxApplyInstallListVO {
@ApiModelProperty(value = "数量") @ApiModelProperty(value = "数量")
private String number; private String number;
/** /**
* 发货表的申请单号 * 物流单号
* *
* @mbg.generated * @mbg.generated
*/ */
@ApiModelProperty(value = "发货表的申请单号") @ApiModelProperty(value = "物流单号")
private String deliveryLogisticOrder; private String deliveryLogisticOrder;
/** /**
* 物流服务商 * 物流服务商
......
...@@ -2,6 +2,7 @@ package com.boco.nbd.wios.manage.mapper.extdb; ...@@ -2,6 +2,7 @@ package com.boco.nbd.wios.manage.mapper.extdb;
import com.boco.nbd.wios.manage.entity.bo.Warehouse; import com.boco.nbd.wios.manage.entity.bo.Warehouse;
import com.boco.nbd.wios.manage.entity.bo.WarehouseDetail;
import com.boco.nbd.wios.manage.entity.bo.WarehouseEx; import com.boco.nbd.wios.manage.entity.bo.WarehouseEx;
import com.boco.nbd.wios.manage.entity.bo.WarehouseLeven; import com.boco.nbd.wios.manage.entity.bo.WarehouseLeven;
import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Param;
...@@ -109,4 +110,10 @@ public interface WarehouseMapperEx { ...@@ -109,4 +110,10 @@ public interface WarehouseMapperEx {
* @return * @return
*/ */
WarehouseEx wareHouseBySuperiorWarehouseId(@Param("superiorWarehouseId") String superiorWarehouseId); WarehouseEx wareHouseBySuperiorWarehouseId(@Param("superiorWarehouseId") String superiorWarehouseId);
/**
* 根据仓库id获取仓库信息
* @param id
* @return
*/
WarehouseDetail warehouseDetailById(@Param("id") String id);
} }
...@@ -183,5 +183,8 @@ ...@@ -183,5 +183,8 @@
<select id="wareHouseBySuperiorWarehouseId" parameterType="string" resultType="com.boco.nbd.wios.manage.entity.bo.WarehouseEx"> <select id="wareHouseBySuperiorWarehouseId" parameterType="string" resultType="com.boco.nbd.wios.manage.entity.bo.WarehouseEx">
select id,name from t_warehouse where id = #{superiorWarehouseId} select id,name from t_warehouse where id = #{superiorWarehouseId}
</select> </select>
<select id="warehouseDetailById" parameterType="string" resultType="com.boco.nbd.wios.manage.entity.bo.WarehouseDetail">
select id,name,receive_people,receive_phone from t_warehouse where id = #{id}
</select>
</mapper> </mapper>
\ No newline at end of file
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论