|
|
@@ -184,6 +184,8 @@ public class BasicWarehouseController {
|
|
184
|
184
|
warehouse.setDelFlag(1);
|
|
185
|
185
|
basicWarehouseService.add(warehouse);
|
|
186
|
186
|
}
|
|
|
187
|
+ /* 更新单位表中仓房数、油罐数、有效仓容、有效罐容 */
|
|
|
188
|
+ basicStorehouseService.editOrgChNum(warehouse.getOrgId());
|
|
187
|
189
|
map.put("status", "success");
|
|
188
|
190
|
} catch (Exception e) {
|
|
189
|
191
|
e.printStackTrace();
|
|
|
@@ -226,6 +228,8 @@ public class BasicWarehouseController {
|
|
226
|
228
|
if (id != null) {
|
|
227
|
229
|
basicWarehouseService.update(basicWarehouse);;
|
|
228
|
230
|
}
|
|
|
231
|
+ /* 更新单位表中仓房数、油罐数、有效仓容、有效罐容 */
|
|
|
232
|
+ basicStorehouseService.editOrgChNum(basicStorehouse.getOrgId());
|
|
229
|
233
|
map.put("status", "success");
|
|
230
|
234
|
} catch (Exception e) {
|
|
231
|
235
|
e.printStackTrace();
|