| | |
| | | } |
| | | |
| | | /** |
| | | * inoutNoticePR#getNoticeInOne |
| | | * |
| | | * @param businessId |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public InoutNoticeIn getNoticeInOne(String businessId) { |
| | | InoutNoticeIn notice = inoutNoticeService.getNoticeInOne(businessId); |
| | | return notice; |
| | | } |
| | | |
| | | /** |
| | | * inoutNoticePR#pageQueryIn 获取入库通知单 |
| | | * |
| | | * @param param |
| | |
| | | } |
| | | |
| | | /** |
| | | * inoutNoticePR#getNoticeOutOne |
| | | * |
| | | * @param businessId |
| | | * @return |
| | | */ |
| | | @DataProvider |
| | | public InoutNoticeOut getNoticeOutOne(String businessId) { |
| | | InoutNoticeOut notice = inoutNoticeService.getNoticeOutOne(businessId); |
| | | return notice; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * inoutNoticePR#pageQueryOut 获取出库通知单 |
| | | * @param page |
| | | * @param param |
| | |
| | | * @return |
| | | */ |
| | | @DataResolver |
| | | public String saveOut(InoutNoticeOut data) { |
| | | public BaseResp saveOut(InoutNoticeOut data) { |
| | | InoutNoticeOut inoutNoticeOut = new InoutNoticeOut(); |
| | | BeanUtils.copyProperties(data, inoutNoticeOut); |
| | | return inoutNoticeService.saveOrUpdateOut(inoutNoticeOut); |