This commit is contained in:
linfso 2024-06-02 17:12:53 +08:00
parent 661b9704c9
commit 892d6d92d8
2 changed files with 9 additions and 3 deletions

View File

@ -22,7 +22,7 @@ public class ScanStatDataInfo implements Serializable {
private Integer scanCount;
private Integer signCount;
private String billCodeStr;
// private String billCodeStr;
private String scanSiteCode;
private String scanSiteName;

View File

@ -65,7 +65,11 @@
<!-- 1+ 查询-->
<result property="scanCount" column="scan_count" />
<result property="billCodeStr" column="bill_code_str" />
<association property="signCount"
column="bill_code_str"
select="selectSignCountByBillCodeStr"
fetchType="lazy"
/>
<association property="scanSiteName"
column="scan_site_code"
@ -76,7 +80,9 @@
</resultMap>
<!-- <association property="signCount"-->
<!-- <result property="billCodeStr" column="bill_code_str" />-->
<!-- <association property="signCount"-->
<!-- column="bill_code_str"-->
<!-- select="selectSignCountByBillCodeStr"-->
<!-- fetchType="lazy"-->