wms,saplist接口修改

master
mengjiao 3 weeks ago
parent f113876508
commit 55064c07d1

@ -53,7 +53,7 @@ public class SapOdsMateStorageNews extends BaseEntity {
private String ceinm; // 限制库存
// 冻结库存
private String cspe; // 冻结库存
private String cspem; // 冻结库存
// 备用字段,通常用于用户自定义扩展
private String userDefined1; // 备用字段 1
@ -175,12 +175,12 @@ public class SapOdsMateStorageNews extends BaseEntity {
this.ceinm = ceinm;
}
public String getCspe() {
return cspe;
public String getCspem() {
return cspem;
}
public void setCspe(String cspe) {
this.cspe = cspe;
public void setCspem(String cspem) {
this.cspem = cspem;
}
public String getUserDefined1() {

@ -84,4 +84,6 @@ public interface WmsOdsMateStorageNewsSnMapper {
public String selectWmsOdsMateStorageNewsSnBC(OdsProcureOutOrder order);
public void deleteWmsOdsMateStorageNewsSnBycard(@Param("wlCode")String wlCode);
List<SapOdsMateStorageNews> selectSapOdsMateStorageNewsList(SapOdsMateStorageNews sapOdsMateStorageNews);
}

@ -292,7 +292,7 @@ public class WmsOdsMateStorageNewsSnServiceImpl implements IWmsOdsMateStorageNew
@Override
@DS("#header.poolName")
public List<SapOdsMateStorageNews> selectSapOdsMateStorageNewsList(SapOdsMateStorageNews sapOdsMateStorageNews) {
return null;
return wmsOdsMateStorageNewsSnMapper.selectSapOdsMateStorageNewsList(sapOdsMateStorageNews);
}
public String dayin( List<OdsProcureOrder> orderList) {

@ -405,4 +405,36 @@
gmt_create DESC;
</select>
<select id="selectSapOdsMateStorageNewsList" parameterType="com.op.wms.domain.SapOdsMateStorageNews" resultType="com.op.wms.domain.SapOdsMateStorageNews">
SELECT
storage_id storageId,
WERKS werks,
LGORT lgort,
CHARG charg,
MAKTX maktx,
MATKL matkl,
MATNR matnr,
MEINS meins,
CLABS clabs,
CINSM cinsm,
CEINM ceinm,
CSPEM cspem
FROM
sap_ods_mate_storage_news
<where>
<if test="storageId != null and storageId != ''">and storage_id = #{storageId}</if>
<if test="werks != null and werks != ''">and WERKS = #{werks}</if>
<if test="lgort != null and lgort != ''">and LGORT = #{lgort}</if>
<if test="charg != null and charg != ''">and CHARG = #{charg}</if>
<if test="maktx != null and maktx != ''">and MAKTX like concat ( '%', #{maktx}, '%' )</if>
<if test="matkl != null and matkl != ''">and MATKL = #{matkl}</if>
<if test="matnr != null and matnr != ''">and MATNR like concat ( '%', #{matnr}, '%' )</if>
<if test="meins != null and meins != ''">and MEINS = #{meins}</if>
<if test="clabs != null ">and CLABS = #{clabs}</if>
<if test="cinsm != null ">and CINSM = #{cinsm}</if>
<if test="ceinm != null ">and CEINM = #{ceinm}</if>
<if test="cspem != null ">and CSPEM = #{cspem}</if>
</where>
ORDER BY MATNR
</select>
</mapper>

Loading…
Cancel
Save