Bladeren bron

no message

leoone8322 3 maanden geleden
bovenliggende
commit
961a73ab36

+ 4 - 0
src/main/java/com/jzlife/report/controller/ServiceController.java

@@ -267,6 +267,7 @@ public class ServiceController {
     public Object newCustomerTradeDetail(
             @RequestParam(required = true) String startTime,
             @RequestParam(required = false) String city,
+            @RequestParam(required = false) String mobile,
             @RequestParam(required = false) String type,//保洁、品类
             @RequestParam(defaultValue = "1") Integer pageIndex,
             @RequestParam(defaultValue = "50") Integer pageSize,
@@ -281,6 +282,7 @@ public class ServiceController {
         DayReportBaseVo vo = new DayReportBaseVo();
         vo.setCity(city);
         vo.setStartTime(startTime);
+        vo.setMobile(mobile);
         if(isExport){
             vo.setStartPage(1);
             vo.setLimit(40000);
@@ -313,6 +315,7 @@ public class ServiceController {
     public Object cycleTradeDetail(
             @RequestParam(required = true) String startTime,
             @RequestParam(required = false) String city,
+            @RequestParam(required = false) String mobile,
             @RequestParam(defaultValue = "1") Integer pageIndex,
             @RequestParam(defaultValue = "50") Integer pageSize,
             @RequestParam(defaultValue = "false") Boolean isExport,
@@ -322,6 +325,7 @@ public class ServiceController {
         }
         DayReportBaseVo vo = new DayReportBaseVo();
         vo.setCity(city);
+        vo.setMobile(mobile);
         vo.setStartTime(startTime);
         if (isExport) {
             vo.setStartPage(1);

+ 1 - 1
src/main/resources/mybatis/mapper/reports/SPMapper.xml

@@ -48,7 +48,7 @@
 
     <select id="serviceNewCustomerTradeDetail"  statementType="CALLABLE" resultType="com.jzlife.report.dto.ReportNewCustomerTradeDetail">
         <!--散单新客 服务明细-->
-        {call report_servicer_new_customer_trade_detail(#{date,mode=IN},#{city,mode=IN},#{type,mode=IN},#{pageIndex,mode=IN},#{pageSize,mode=IN})}
+        {call report_servicer_new_customer_trade_detail(#{date,mode=IN},#{city,mode=IN},#{type,mode=IN},#{mobile,mode=IN},#{pageIndex,mode=IN},#{pageSize,mode=IN})}
     </select>