Selaa lähdekoodia

fixed 价值曲线

zero 1 vuosi sitten
vanhempi
commit
ba3c3979f3
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      src/main/resources/mapper/PermissionRecordMapper.xml

+ 2 - 2
src/main/resources/mapper/PermissionRecordMapper.xml

@@ -7,7 +7,7 @@
                DATE_FORMAT(license_time, '%Y-%m') as licenseTime
         from permission_record
         where patent_no = #{patentNo}
-        group by DATE_FORMAT(license_time, '%Y-%m');
+        group by licenseTime;
     </select>
 
     <select id="selectLicenseeYearList" resultType="cn.cslg.pas.common.dto.es.SelectValueCurveDTO">
@@ -15,7 +15,7 @@
                CONCAT(DATE_FORMAT(license_time, '%Y'),'年') as licenseTime
         from permission_record
         where patent_no = #{patentNo}
-        group by DATE_FORMAT(license_time, '%Y');
+        group by licenseTime;
     </select>
 
     <select id="selectLicenseeQuarterList" resultType="cn.cslg.pas.common.dto.es.SelectValueCurveDTO">