|
|
@@ -361,7 +361,7 @@
|
|
|
user_business a left join user b on
|
|
|
a.uid = b.id left join business_glossory c on
|
|
|
a.business_glossory_id = c.id left join admin d on
|
|
|
- a.uid = d.id
|
|
|
+ a.aid = d.id
|
|
|
where a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
<if test="uid != null and uid !=''">
|
|
|
and a.uid = #{uid,jdbcType=VARCHAR}
|
|
|
@@ -382,10 +382,10 @@
|
|
|
and d.name = #{adminName,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
<if test="startDate != null and startDate != ''">
|
|
|
- and and a.create_time > STR_TO_DATE(#{startDate},'%Y-%m-%d %H:%i:%s')
|
|
|
+ and a.create_time > STR_TO_DATE(#{startDate},'%Y-%m-%d %H:%i:%s')
|
|
|
</if>
|
|
|
<if test="endDate != null and endDate != ''">
|
|
|
- and and a.create_time < STR_TO_DATE(#{endDate},'%Y-%m-%d %H:%i:%s')
|
|
|
+ and a.create_time < STR_TO_DATE(#{endDate},'%Y-%m-%d %H:%i:%s')
|
|
|
</if>
|
|
|
<if test="page_sql != null">
|
|
|
${page_sql}
|
|
|
@@ -398,7 +398,7 @@
|
|
|
user_business a left join user b on
|
|
|
a.uid = b.id left join business_glossory c on
|
|
|
a.business_glossory_id = c.id left join admin d on
|
|
|
- a.uid = d.id
|
|
|
+ a.aid = d.id
|
|
|
where a.aid = #{aid,jdbcType=VARCHAR}
|
|
|
<if test="uid != null and uid !=''">
|
|
|
and a.uid = #{uid,jdbcType=VARCHAR}
|