| | |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.fzzy.igds.constant.Constant; |
| | | import com.fzzy.igds.data.BaseResp; |
| | | import com.fzzy.igds.data.NoticeDto; |
| | | import com.fzzy.igds.data.NoticeParam; |
| | | import com.fzzy.igds.service.InoutNoticeService; |
| | |
| | | * inoutNoticePR#saveIn 更新入库通知单 |
| | | */ |
| | | @DataResolver |
| | | public String saveIn(InoutNoticeIn data) { |
| | | public BaseResp saveIn(InoutNoticeIn data) { |
| | | InoutNoticeIn inoutNoticeIn = new InoutNoticeIn(); |
| | | BeanUtils.copyProperties(data, inoutNoticeIn); |
| | | return inoutNoticeService.saveOrUpdateIn(inoutNoticeIn); |
| | |
| | | * @return |
| | | */ |
| | | @DataResolver |
| | | public String saveOut(InoutNoticeOut data) { |
| | | public BaseResp saveOut(InoutNoticeOut data) { |
| | | InoutNoticeOut inoutNoticeOut = new InoutNoticeOut(); |
| | | BeanUtils.copyProperties(data, inoutNoticeOut); |
| | | return inoutNoticeService.saveOrUpdateOut(inoutNoticeOut); |