change - add库位管理条码功能v2

master
yinq 4 months ago
parent 11e673453c
commit 1baec40d07

@ -0,0 +1,89 @@
package com.hw.wms.service.impl;
import java.util.List;
import com.hw.common.core.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.hw.wms.mapper.WmsLocationBarcodeMapper;
import com.hw.wms.domain.WmsLocationBarcode;
import com.hw.wms.service.IWmsLocationBarcodeService;
/**
* Service
*
* @author Yinq
* @date 2024-07-31
*/
@Service
public class WmsLocationBarcodeServiceImpl implements IWmsLocationBarcodeService {
@Autowired
private WmsLocationBarcodeMapper wmsLocationBarcodeMapper;
/**
*
*
* @param locationBarcodeId
* @return
*/
@Override
public WmsLocationBarcode selectWmsLocationBarcodeByLocationBarcodeId(Long locationBarcodeId) {
return wmsLocationBarcodeMapper.selectWmsLocationBarcodeByLocationBarcodeId(locationBarcodeId);
}
/**
*
*
* @param wmsLocationBarcode
* @return
*/
@Override
public List<WmsLocationBarcode> selectWmsLocationBarcodeList(WmsLocationBarcode wmsLocationBarcode) {
return wmsLocationBarcodeMapper.selectWmsLocationBarcodeList(wmsLocationBarcode);
}
/**
*
*
* @param wmsLocationBarcode
* @return
*/
@Override
public int insertWmsLocationBarcode(WmsLocationBarcode wmsLocationBarcode) {
wmsLocationBarcode.setCreateTime(DateUtils.getNowDate());
return wmsLocationBarcodeMapper.insertWmsLocationBarcode(wmsLocationBarcode);
}
/**
*
*
* @param wmsLocationBarcode
* @return
*/
@Override
public int updateWmsLocationBarcode(WmsLocationBarcode wmsLocationBarcode) {
return wmsLocationBarcodeMapper.updateWmsLocationBarcode(wmsLocationBarcode);
}
/**
*
*
* @param locationBarcodeIds
* @return
*/
@Override
public int deleteWmsLocationBarcodeByLocationBarcodeIds(Long[] locationBarcodeIds) {
return wmsLocationBarcodeMapper.deleteWmsLocationBarcodeByLocationBarcodeIds(locationBarcodeIds);
}
/**
*
*
* @param locationBarcodeId
* @return
*/
@Override
public int deleteWmsLocationBarcodeByLocationBarcodeId(Long locationBarcodeId) {
return wmsLocationBarcodeMapper.deleteWmsLocationBarcodeByLocationBarcodeId(locationBarcodeId);
}
}
Loading…
Cancel
Save