|
@@ -140,21 +140,21 @@ outstoredetail.c_batch,
|
|
|
|
|
|
<select id="selectReportList" parameterType="com.platform.dao.dto.store.OutStoreDetailDTO"
|
|
|
resultType="com.platform.dao.vo.query.store.OutStoreDetailVO">
|
|
|
- select
|
|
|
- sum(outstoredetail.num) as totalNum,
|
|
|
- spareinfo.name spareName,
|
|
|
+ select outstoredetail.*
|
|
|
+ sum(outstoredetail.num) as totalNum
|
|
|
+ /*spareinfo.name spareName,
|
|
|
spareinfo.id spareId,
|
|
|
spareinfo.no spareNo,
|
|
|
store.name storeName,
|
|
|
store.id storeId,
|
|
|
- sparetype.name typeName
|
|
|
- from t_out_store_detail as outstoredetail,t_spare_part_info spareinfo ,t_spare_type sparetype,t_store store
|
|
|
+ sparetype.name typeName*/
|
|
|
+ from t_out_store_detail as outstoredetail
|
|
|
<where>
|
|
|
- spareinfo.id = outstoredetail.spare_id
|
|
|
+ /*spareinfo.id = outstoredetail.spare_id
|
|
|
and spareinfo.type_id = sparetype.id
|
|
|
- and store.id = outstoredetail.store_id
|
|
|
+ and store.id = outstoredetail.store_id*/
|
|
|
<include refid="List_Condition"/>
|
|
|
- <if test="useCompany != null and useCompany != ''">
|
|
|
+ <!--<if test="useCompany != null and useCompany != ''">
|
|
|
and store.use_company = #{useCompany}
|
|
|
</if>
|
|
|
<if test="useProject != null and useProject != ''">
|
|
@@ -165,7 +165,7 @@ outstoredetail.c_batch,
|
|
|
</if>
|
|
|
<if test="spareNo != null and spareNo != ''">
|
|
|
and spareinfo.no = #{spareNo}
|
|
|
- </if>
|
|
|
+ </if>-->
|
|
|
</where>
|
|
|
</select>
|
|
|
|