|
@@ -133,6 +133,9 @@ outstoreform.process_instance_id,
|
|
<if test="status!=null">
|
|
<if test="status!=null">
|
|
and outstoreform.status=#{status}
|
|
and outstoreform.status=#{status}
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="yyId!=null and yyId!=''">
|
|
|
|
+ and outstoreform.yy_id = #{yyId}
|
|
|
|
+ </if>
|
|
</sql>
|
|
</sql>
|
|
<!--<select id="selectList" parameterType="com.platform.dao.dto.store.OutStoreFormDTO"
|
|
<!--<select id="selectList" parameterType="com.platform.dao.dto.store.OutStoreFormDTO"
|
|
resultType="com.platform.dao.vo.query.store.OutStoreFormVO">
|
|
resultType="com.platform.dao.vo.query.store.OutStoreFormVO">
|
|
@@ -157,29 +160,12 @@ outstoreform.process_instance_id,
|
|
select outstoreform.*,repairForm.no as repairNo
|
|
select outstoreform.*,repairForm.no as repairNo
|
|
from t_out_store_form as outstoreform left join t_repair_application_form repairForm on outstoreform.pick_id=repairForm.id
|
|
from t_out_store_form as outstoreform left join t_repair_application_form repairForm on outstoreform.pick_id=repairForm.id
|
|
<where>
|
|
<where>
|
|
|
|
+ and outstoreform.status!=6
|
|
|
|
+
|
|
<include refid="List_Condition"/>
|
|
<include refid="List_Condition"/>
|
|
<if test="userId != null and userId != ''">
|
|
<if test="userId != null and userId != ''">
|
|
and outstoreform.created_user_id = #{userId}
|
|
and outstoreform.created_user_id = #{userId}
|
|
</if>
|
|
</if>
|
|
- <if test="yyId!=null and yyId!=''">
|
|
|
|
- and outstoreform.yy_id = #{yyId}
|
|
|
|
- </if>
|
|
|
|
- <if test="applyDept!=null and applyDept!=''">
|
|
|
|
- and outstoreform.apply_dept = #{applyDept}
|
|
|
|
- </if>
|
|
|
|
- <if test="status!=null">
|
|
|
|
- and outstoreform.status = #{status}
|
|
|
|
- </if>
|
|
|
|
- <if test="searchTimeStart!=null">
|
|
|
|
- and outstoreform.user_time <![CDATA[ >= ]]> #{searchTimeStart}
|
|
|
|
- </if>
|
|
|
|
- <if test="searchTimeEnd!=null">
|
|
|
|
- and outstoreform.user_time <![CDATA[ <= ]]> #{searchTimeEnd}
|
|
|
|
- </if>
|
|
|
|
- <if test="type!=null">
|
|
|
|
- and outstoreform.type = #{type}
|
|
|
|
- </if>
|
|
|
|
-
|
|
|
|
</where>
|
|
</where>
|
|
</select>
|
|
</select>
|
|
|
|
|