|
|
|
@ -748,6 +748,22 @@ |
|
|
|
group by aorid |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<!--根据主键查询出库记录--> |
|
|
|
<select id="findApplicationOutRecordPByIds" parameterType="list" resultMap="applicationOutRecord"> |
|
|
|
select |
|
|
|
<include refid="ApplicationOutRecordInfo"/> |
|
|
|
from applicationOutRecordInfo |
|
|
|
where 1 = 1 |
|
|
|
and aorid in |
|
|
|
<foreach collection="list" index="index" item="id" open="(" separator="," close=")"> |
|
|
|
#{id} |
|
|
|
</foreach> |
|
|
|
group by aorid |
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="findApplicationOutByCode" parameterType="string" resultMap="applicationOutRecord"> |
|
|
|
select |
|
|
|
<include refid="ApplicationOutRecordInfo"/> |
|
|
|
|