| | |
| | | import com.bstek.dorado.annotation.Expose; |
| | | import com.bstek.dorado.data.provider.Page; |
| | | import com.ld.igds.models.DepotStore; |
| | | import com.ld.igds.view.service.HDepotService; |
| | | import com.ld.igds.view.service.HDepotStoreService; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | |
| | | |
| | | /** |
| | | * depotStorePR#pageListDepotStore |
| | | * depotStorePR#pageList |
| | | * |
| | | * @Desc: 分页查询库存信息 |
| | | * @author: Andy |
| | | * @update-time: 2022/11/17 |
| | | */ |
| | | @DataProvider |
| | | public void pageListDepotStore(Page<DepotStore> page, Map<String, Object> param) throws Exception { |
| | | |
| | | public void pageList(Page<DepotStore> page, Map<String, Object> param) throws Exception { |
| | | if (null == param) { |
| | | param = new HashMap<>(); |
| | | } |
| | | |
| | | depotStoreService.listDepotStore(page, param); |
| | | } |
| | | |
| | |
| | | */ |
| | | @DataResolver |
| | | public void saveDepotStore(DepotStore data) { |
| | | |
| | | //TODO 根据页面说明增加保存前验证 2023年5月27日 18:53:56 |
| | | |
| | | depotStoreService.saveDepotStore(data); |
| | | |
| | | //更新库存和状态 |
| | | //根据库存信息更新到仓库信息,仓库储粮信息以当前为准 |
| | | depotPR.updateByStore(data); |
| | | |
| | | //远程同步状态 |