| | |
| | | return map; |
| | | } |
| | | |
| | | public Map<String, Object> getSelectProductBOM(Integer pageNum, Integer pageSize, MaterialStore materialStore) { |
| | | Integer offset = (pageNum - 1) * pageSize; |
| | | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("data", materialStoreMapper.getSelectProductBOM(offset, pageSize, materialStore)); |
| | | map.put("total", materialStoreMapper.getSelectMaterialStorePageTotal(offset, pageSize, materialStore)); |
| | | return map; |
| | | } |
| | | |
| | | public Map<String, Object> getSelectMaterialStores(MaterialStore materialStore) { |
| | | |
| | | |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("data", materialStoreMapper.getSelectMaterialStores(materialStore)); |
| | | return map; |
| | | } |
| | | |
| | | public String deleteMaterialStore(Map<String,Object> object) { |
| | | String saveState = "true"; |
| | | //设置回滚点 |