|
@@ -109,7 +109,7 @@
|
|
|
resultType="com.platform.dao.vo.query.store.OutStoreFormVO">
|
|
|
select outstoreform.*, store.name storeName
|
|
|
from t_out_store_form as outstoreform
|
|
|
- join t_store store on store.id = outstoreform.store_id
|
|
|
+ left join t_store store on store.id = outstoreform.store_id
|
|
|
<where>
|
|
|
<include refid="List_Condition"/>
|
|
|
<if test="useCompany != null and useCompany != ''">
|
|
@@ -147,7 +147,7 @@
|
|
|
|
|
|
<select id="selectOutStoreList" parameterType="com.platform.dao.dto.store.OutStoreFormDTO"
|
|
|
resultType="com.platform.dao.vo.query.store.OutStoreFormVO">
|
|
|
- SELECT form.type, COUNT(*) outstorenum FROM `t_out_store_form` form
|
|
|
+ SELECT form.type, COUNT(*) outstorenum FROM `t_out_store_form` form left
|
|
|
join t_store store on store.id=form.store_id
|
|
|
<where>
|
|
|
status=1
|