Browse Source

提交app的年度数据接口添加签单的标志orderstatus=3

hxl13994548489 2 years ago
parent
commit
38d62b5383
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

+ 3 - 3
src/main/resources/mapper/modules/order/InsAreaCompanyMapper.xml

@@ -581,7 +581,7 @@
         FROM
             ins_area_company iac
         WHERE
-            orderstatus = 3  and
+            iac.orderstatus = 3  and
             iac.createtime >= #{beginTime}  and  iac.createtime <= #{endTime}
         GROUP BY CONCAT(YEAR(iac.createtime),'-',LPAD(MONTH(iac.createtime), 2, '0'))
     </select>
@@ -595,7 +595,7 @@
         FROM
             ins_area_company iac
         WHERE
-            orderstatus = 3  and
+            iac.orderstatus = 3  and
             iac.createtime &gt;= #{beginTime}  and  iac.createtime &lt;= #{endTime}
         GROUP BY  CONCAT(YEAR(iac.createtime),'-',LPAD(MONTH(iac.createtime), 2, '0'),'-',LPAD(Day(iac.createtime), 2, '0'))
     </select>
@@ -610,7 +610,7 @@
         FROM
             ins_area_company iac
         WHERE
-            orderstatus = 3  and
+            iac.orderstatus = 3  and
             iac.createtime &gt;= #{beginTime}  and  iac.createtime &lt;= #{endTime}
         GROUP BY   CONCAT(YEAR ( iac.createtime ),'-',LPAD( MONTH ( iac.createtime ), 2, '0' ),'-',LPAD( DAY ( iac.createtime ), 2, '0' ),' ',LPAD( HOUR ( iac.createtime ), 2, '0' ))
     </select>