Commit f75f624fa1127f8fe1bf5b94aacef421af33a6fe

Authored by YunaiV
1 parent 16a0c9e0

♻️ refactor(mes): 移除无用的到货通知单相关方法和注释

yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/dal/mysql/wm/arrivalnotice/MesWmArrivalNoticeMapper.java
... ... @@ -7,8 +7,6 @@ import cn.iocoder.yudao.module.mes.controller.admin.wm.arrivalnotice.vo.MesWmArr
7 7 import cn.iocoder.yudao.module.mes.dal.dataobject.wm.arrivalnotice.MesWmArrivalNoticeDO;
8 8 import org.apache.ibatis.annotations.Mapper;
9 9  
10   -import java.util.List;
11   -
12 10 /**
13 11 * MES 到货通知单 Mapper
14 12 */
... ... @@ -30,10 +28,6 @@ public interface MesWmArrivalNoticeMapper extends BaseMapperX<MesWmArrivalNotice
30 28 return selectOne(MesWmArrivalNoticeDO::getCode, code);
31 29 }
32 30  
33   - default List<MesWmArrivalNoticeDO> selectListByStatus(Integer status) {
34   - return selectList(MesWmArrivalNoticeDO::getStatus, status);
35   - }
36   -
37 31 default Long selectCountByVendorId(Long vendorId) {
38 32 return selectCount(MesWmArrivalNoticeDO::getVendorId, vendorId);
39 33 }
... ...
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/arrivalnotice/MesWmArrivalNoticeService.java
... ... @@ -117,14 +117,6 @@ public interface MesWmArrivalNoticeService {
117 117 void validateArrivalNoticeAndLineExists(Long noticeId, Long lineId);
118 118  
119 119 /**
120   - * 按状态获得到货通知单列表
121   - *
122   - * @param status 状态
123   - * @return 到货通知单列表
124   - */
125   - List<MesWmArrivalNoticeDO> getArrivalNoticeListByStatus(Integer status);
126   -
127   - /**
128 120 * 查询指定供应商的到货通知单数量
129 121 *
130 122 * @param vendorId 供应商编号
... ...
yudao-module-mes/src/main/java/cn/iocoder/yudao/module/mes/service/wm/arrivalnotice/MesWmArrivalNoticeServiceImpl.java
... ... @@ -159,14 +159,6 @@ public class MesWmArrivalNoticeServiceImpl implements MesWmArrivalNoticeService
159 159 }
160 160  
161 161 @Override
162   - public List<MesWmArrivalNoticeDO> getArrivalNoticeListByStatus(Integer status) {
163   - if (status == null) {
164   - return arrivalNoticeMapper.selectList();
165   - }
166   - return arrivalNoticeMapper.selectListByStatus(status);
167   - }
168   -
169   - @Override
170 162 public void validateArrivalNoticeAndLineExists(Long noticeId, Long lineId) {
171 163 // 1. 校验通知单存在
172 164 MesWmArrivalNoticeDO notice = arrivalNoticeMapper.selectById(noticeId);
... ...