wms-数据源问题

highway
庞晓磊 1 year ago
parent 1f7113fc99
commit 09a473f1f1

@ -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.WmsRawOrderInMapper;
@ -25,6 +27,7 @@ public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
* @return
*/
@Override
@DS("#header.poolName")
public WmsRawOrderIn selectWmsRawOrderInByRawOrderInId(String rawOrderInId) {
return wmsRawOrderInMapper.selectWmsRawOrderInByRawOrderInId(rawOrderInId);
}
@ -36,6 +39,7 @@ public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
* @return
*/
@Override
@DS("#header.poolName")
public List<WmsRawOrderIn> selectWmsRawOrderInList(WmsRawOrderIn wmsRawOrderIn) {
return wmsRawOrderInMapper.selectWmsRawOrderInList(wmsRawOrderIn);
}
@ -47,6 +51,7 @@ public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
* @return
*/
@Override
@DS("#header.poolName")
public int insertWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn) {
return wmsRawOrderInMapper.insertWmsRawOrderIn(wmsRawOrderIn);
}
@ -58,6 +63,7 @@ public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
* @return
*/
@Override
@DS("#header.poolName")
public int updateWmsRawOrderIn(WmsRawOrderIn wmsRawOrderIn) {
return wmsRawOrderInMapper.updateWmsRawOrderIn(wmsRawOrderIn);
}
@ -69,6 +75,7 @@ public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
* @return
*/
@Override
@DS("#header.poolName")
public int deleteWmsRawOrderInByRawOrderInIds(String[] rawOrderInIds) {
return wmsRawOrderInMapper.deleteWmsRawOrderInByRawOrderInIds(rawOrderInIds);
}
@ -80,6 +87,7 @@ public class WmsRawOrderInServiceImpl implements IWmsRawOrderInService {
* @return
*/
@Override
@DS("#header.poolName")
public int deleteWmsRawOrderInByRawOrderInId(String rawOrderInId) {
return wmsRawOrderInMapper.deleteWmsRawOrderInByRawOrderInId(rawOrderInId);
}

@ -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);
}

Loading…
Cancel
Save