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