wms-数据源问题

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

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

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

Loading…
Cancel
Save