|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
package com.op.wms.service.impl;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
import com.op.wms.mapper.WmsRawOrderInSnMapper;
|
|
|
|
@ -25,6 +27,7 @@ public class WmsRawOrderInSnServiceImpl implements IWmsRawOrderInSnService {
|
|
|
|
|
* @return 原材料收货明细
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public WmsRawOrderInSn selectWmsRawOrderInSnByRawOrderInSnId(Long rawOrderInSnId) {
|
|
|
|
|
return wmsRawOrderInSnMapper.selectWmsRawOrderInSnByRawOrderInSnId(rawOrderInSnId);
|
|
|
|
|
}
|
|
|
|
@ -36,6 +39,7 @@ public class WmsRawOrderInSnServiceImpl implements IWmsRawOrderInSnService {
|
|
|
|
|
* @return 原材料收货明细
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public List<WmsRawOrderInSn> selectWmsRawOrderInSnList(WmsRawOrderInSn wmsRawOrderInSn) {
|
|
|
|
|
return wmsRawOrderInSnMapper.selectWmsRawOrderInSnList(wmsRawOrderInSn);
|
|
|
|
|
}
|
|
|
|
@ -47,6 +51,7 @@ public class WmsRawOrderInSnServiceImpl implements IWmsRawOrderInSnService {
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public int insertWmsRawOrderInSn(WmsRawOrderInSn wmsRawOrderInSn) {
|
|
|
|
|
return wmsRawOrderInSnMapper.insertWmsRawOrderInSn(wmsRawOrderInSn);
|
|
|
|
|
}
|
|
|
|
@ -58,6 +63,7 @@ public class WmsRawOrderInSnServiceImpl implements IWmsRawOrderInSnService {
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public int updateWmsRawOrderInSn(WmsRawOrderInSn wmsRawOrderInSn) {
|
|
|
|
|
return wmsRawOrderInSnMapper.updateWmsRawOrderInSn(wmsRawOrderInSn);
|
|
|
|
|
}
|
|
|
|
@ -69,6 +75,7 @@ public class WmsRawOrderInSnServiceImpl implements IWmsRawOrderInSnService {
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public int deleteWmsRawOrderInSnByRawOrderInSnIds(Long[] rawOrderInSnIds) {
|
|
|
|
|
return wmsRawOrderInSnMapper.deleteWmsRawOrderInSnByRawOrderInSnIds(rawOrderInSnIds);
|
|
|
|
|
}
|
|
|
|
@ -80,6 +87,7 @@ public class WmsRawOrderInSnServiceImpl implements IWmsRawOrderInSnService {
|
|
|
|
|
* @return 结果
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
@DS("#header.poolName")
|
|
|
|
|
public int deleteWmsRawOrderInSnByRawOrderInSnId(Long rawOrderInSnId) {
|
|
|
|
|
return wmsRawOrderInSnMapper.deleteWmsRawOrderInSnByRawOrderInSnId(rawOrderInSnId);
|
|
|
|
|
}
|
|
|
|
|