|
@@ -1,5 +1,6 @@
|
|
|
package com.sooka.sponest.data.housingconstruction.controller;
|
|
|
|
|
|
+import com.ruoyi.common.core.domain.R;
|
|
|
import com.ruoyi.common.core.web.controller.BaseController;
|
|
|
import com.ruoyi.common.core.web.domain.AjaxResult;
|
|
|
import com.sooka.sponest.data.housingconstruction.domain.*;
|
|
@@ -29,8 +30,19 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午3:03
|
|
|
*/
|
|
|
@GetMapping("/getGasCylinderList")
|
|
|
- public AjaxResult getGasCylinderList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getGasCylinderList(steelcylinder));
|
|
|
+ public R getGasCylinderList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+ return R.ok(housingconstructionViewService.getGasCylinderList(steelcylinder));
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 从业人员岗位统计
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2024/8/2 上午8:46
|
|
|
+ */
|
|
|
+ @GetMapping("/getPractitionerPostList")
|
|
|
+ public R getPractitionerPostList(CenterdataTHousingconstructionPractitioner practitioner) {
|
|
|
+ return R.ok(housingconstructionViewService.getPractitionerPostList(practitioner));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -40,8 +52,8 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午3:28
|
|
|
*/
|
|
|
@GetMapping("/getOrderList")
|
|
|
- public AjaxResult getOrderList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getOrderList(steelcylinder));
|
|
|
+ public R getOrderList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+ return R.ok(housingconstructionViewService.getOrderList(steelcylinder));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -51,8 +63,8 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午4:18
|
|
|
*/
|
|
|
@GetMapping("/getCarList")
|
|
|
- public AjaxResult getCarList(CenterdataTHousingconstructionCar car) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getCarList(car));
|
|
|
+ public R getCarList(CenterdataTHousingconstructionCar car) {
|
|
|
+ return R.ok(housingconstructionViewService.getCarList(car));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -62,8 +74,8 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午4:34
|
|
|
*/
|
|
|
@GetMapping("/getUserList")
|
|
|
- public AjaxResult getUserList(CenterdataTHousingconstructionRealnameuser realnameuser) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getUserList(realnameuser));
|
|
|
+ public R getUserList(CenterdataTHousingconstructionRealnameuser realnameuser) {
|
|
|
+ return R.ok(housingconstructionViewService.getUserList(realnameuser));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -73,8 +85,8 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午4:49
|
|
|
*/
|
|
|
@GetMapping("/getSteelcylinderList")
|
|
|
- public AjaxResult getSteelcylinderList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getSteelcylinderList(steelcylinder));
|
|
|
+ public R getSteelcylinderList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+ return R.ok(housingconstructionViewService.getSteelcylinderList(steelcylinder));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -84,19 +96,19 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午6:31
|
|
|
*/
|
|
|
@GetMapping("/getThreeUserList")
|
|
|
- public AjaxResult getThreeUserList(CenterdataTHousingconstructionRealnameuser realnameuser) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getThreeUserList(realnameuser));
|
|
|
+ public R getThreeUserList(CenterdataTHousingconstructionRealnameuser realnameuser) {
|
|
|
+ return R.ok(housingconstructionViewService.getThreeUserList(realnameuser));
|
|
|
}
|
|
|
|
|
|
/*
|
|
|
- * 实名用户
|
|
|
+ * 实名用户(个体、商户)
|
|
|
*
|
|
|
* @author 韩福成
|
|
|
* @date 2024/8/1 下午5:08
|
|
|
*/
|
|
|
@GetMapping("/getRealnameuserList")
|
|
|
- public AjaxResult getRealnameuserList(CenterdataTHousingconstructionRealnameuser realnameuser) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getRealnameuserList(realnameuser));
|
|
|
+ public R getRealnameuserList(CenterdataTHousingconstructionRealnameuser realnameuser) {
|
|
|
+ return R.ok(housingconstructionViewService.getRealnameuserList(realnameuser));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -106,8 +118,8 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午5:31
|
|
|
*/
|
|
|
@GetMapping("/getDeliverymanList")
|
|
|
- public AjaxResult getDeliverymanList(CenterdataTHousingconstructionDeliveryPersonnel deliveryPersonnel) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getDeliverymanList(deliveryPersonnel));
|
|
|
+ public R getDeliverymanList(CenterdataTHousingconstructionDeliveryPersonnel deliveryPersonnel) {
|
|
|
+ return R.ok(housingconstructionViewService.getDeliverymanList(deliveryPersonnel));
|
|
|
}
|
|
|
|
|
|
/*
|
|
@@ -117,7 +129,63 @@ public class CenterdataTHousingconstructionViewController extends BaseController
|
|
|
* @date 2024/8/1 下午7:24
|
|
|
*/
|
|
|
@GetMapping("/getEnterpriseList")
|
|
|
- public AjaxResult getEnterpriseList(CenterdataTHousingconstructionEnterprise enterprise) {
|
|
|
- return AjaxResult.success(housingconstructionViewService.getEnterpriseList(enterprise));
|
|
|
+ public R getEnterpriseList(CenterdataTHousingconstructionEnterprise enterprise) {
|
|
|
+ return R.ok(housingconstructionViewService.getEnterpriseList(enterprise));
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 储罐列表
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2024/8/2 上午10:59
|
|
|
+ */
|
|
|
+ @GetMapping("/getStoragetankList")
|
|
|
+ public R getStoragetankList(CenterdataTHousingconstructionStoragetank storagetank) {
|
|
|
+ return R.ok(housingconstructionViewService.getStoragetankList(storagetank));
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 钢瓶当日状态统计
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2024/8/2 下午2:10
|
|
|
+ */
|
|
|
+ @GetMapping("/getSteelcylinderStateList")
|
|
|
+ public R getSteelcylinderStateList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+ return R.ok(housingconstructionViewService.getSteelcylinderStateList(steelcylinder));
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 入户用户列表
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2024/8/2 下午3:46
|
|
|
+ */
|
|
|
+ @GetMapping("/getJoinHouseUserList")
|
|
|
+ public R getJoinHouseUserList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+ return R.ok(housingconstructionViewService.getJoinHouseUserList(steelcylinder));
|
|
|
}
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 入库记录
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2024/8/2 下午4:36
|
|
|
+ */
|
|
|
+// @GetMapping("/getJoinHouseUserList")
|
|
|
+// public R getJoinHouseUserList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+// return R.ok(housingconstructionViewService.getJoinHouseUserList(steelcylinder));
|
|
|
+// }
|
|
|
+
|
|
|
+ /*
|
|
|
+ * 今日派送订单
|
|
|
+ *
|
|
|
+ * @author 韩福成
|
|
|
+ * @date 2024/8/2 下午4:48
|
|
|
+ */
|
|
|
+// @GetMapping("/getJoinHouseUserList")
|
|
|
+// public R getJoinHouseUserList(CenterdataTHousingconstructionSteelcylinder steelcylinder) {
|
|
|
+// return R.ok(housingconstructionViewService.getJoinHouseUserList(steelcylinder));
|
|
|
+// }
|
|
|
+
|
|
|
}
|