Forráskód Böngészése

出入记录,客户管理2

lzm 3 éve
szülő
commit
5198a1f441

+ 1 - 1
app/pages/customer-management/customer-management.vue

@@ -154,7 +154,7 @@
 				// 	this.customerItemList += 5;//接接口后把数据加上,懒得写假数据了
 				// 	if(this.page >= 3) this.status = 'nomore';
 				// 	else this.status = 'loading';
-				// }, 2000)
+				// }, 2000) 
 			}
 		},
 		onShow() {

+ 1 - 1
app/pages/inout-record/inout-record.vue

@@ -127,7 +127,7 @@
 			// 		if(this.page >= 3) this.status = 'nomore';
 			// 		else this.status = 'loading';
 			// 	}, 2000)
-			// }
+			// } 
 		},
 		onShow() {
 			this.getRecordList();

+ 0 - 5
sp-server/src/main/java/com/pj/api/bo/InOutRecordBO.java

@@ -6,11 +6,6 @@ import lombok.experimental.Accessors;
 import java.util.Date;
 
 /**
- * Created with IntelliJ IDEA.
- *
- * @Auther: lzm
- * @Date: 2022/01/19/18:15
- * @Description:
  */
 @Data
 @Accessors(chain = true)

+ 2 - 0
sp-server/src/main/java/com/pj/api/h5/ApiController.java

@@ -53,6 +53,7 @@ public class ApiController {
 
     @RequestMapping(value = "getInOutRecord")
     public AjaxJson getInOutRecord(){
+        //
         SoMap so = SoMap.getRequestSoMap();
         String currentCustomerId = StpUserUtil.getCustomerId();
         if (!currentCustomerId.equals(UserTypeEnum.PLATFORM_ADMIN.getCustomerId())) {
@@ -63,6 +64,7 @@ public class ApiController {
     }
 
     @RequestMapping(value = "getCustomerList")
+    //
     public AjaxJson getCustomerList(){
         SoMap so = SoMap.getRequestSoMap();
         String currentCustomerId = StpUserUtil.getCustomerId();

+ 3 - 0
sp-server/src/main/java/com/pj/api/service/ApiService.java

@@ -29,6 +29,7 @@ public class ApiService {
     TbBusinessService tbBusinessService;
 
     public List<InOutRecordBO> getInOutRecord(SoMap so){
+        //
         int current = so.getInt("current");
         List<TbBusiness> businessList = tbBusinessService.getList(so);
         List<InOutRecordBO> recordList = new ArrayList<>();
@@ -54,6 +55,7 @@ public class ApiService {
     }
 
     public List<TbCostomer> getCustomerList(SoMap so) {
+        //
         int current = so.getInt("current");
         List<TbCostomer> costomerList = new ArrayList<>();
         List<TbCostomer> list = tbCostomerService.getList(so);
@@ -68,6 +70,7 @@ public class ApiService {
     }
 
     public void confirmCustomer(Long customerId) {
+        //
         TbCostomer costomer = tbCostomerService.getById(customerId);
         if(costomer != null && costomer.getJudgeStatus() == 1){
             tbCostomerService.judge(customerId + "", 2, "H5端审核");

+ 1 - 0
sp-server/src/main/java/com/pj/project/tb_business/TbBusinessService.java

@@ -134,6 +134,7 @@ public class TbBusinessService extends ServiceImpl<TbBusinessMapper, TbBusiness>
      * 查集合 - 根据条件(参数为空时代表忽略指定条件)
      */
     public List<TbBusiness> getList(SoMap so) {
+
         return tbBusinessMapper.getList(so);
     }
 

+ 1 - 0
sp-server/src/main/java/com/pj/project/tb_costomer/TbCostomerService.java

@@ -99,6 +99,7 @@ public class TbCostomerService extends ServiceImpl<TbCostomerMapper, TbCostomer>
      * 查集合 - 根据条件(参数为空时代表忽略指定条件)
      */
     public List<TbCostomer> getList(SoMap so) {
+
         return tbCostomerMapper.getList(so);
     }