|
|
|
@ -38,9 +38,7 @@
|
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
<select id="selectDrugsByNameCodes" resultType="int">
|
|
|
|
|
SELECT count(1)
|
|
|
|
|
FROM third_ali_drug
|
|
|
|
|
WHERE nameCode = #{nameCode}
|
|
|
|
|
SELECT count(1) FROM third_ali_drug WHERE nameCode = #{nameCode}
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<!-- 自定义saveOrUpdateBatch方法 -->
|
|
|
|
@ -57,9 +55,10 @@
|
|
|
|
|
</insert>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<select id="filterList" parameterType="com.glxp.api.req.thrsys.ThirdAliDrugRequest"
|
|
|
|
|
resultType="com.glxp.api.entity.thrsys.ThirdAliDrug">
|
|
|
|
|
select id,
|
|
|
|
|
|
|
|
|
|
<select id="filterList" parameterType="com.glxp.api.req.thrsys.ThirdAliDrugRequest" resultType="com.glxp.api.entity.thrsys.ThirdAliDrug">
|
|
|
|
|
select
|
|
|
|
|
id,
|
|
|
|
|
`type`,
|
|
|
|
|
manufacturer,
|
|
|
|
|
cpmctymc,
|
|
|
|
@ -72,7 +71,8 @@
|
|
|
|
|
packLevel,
|
|
|
|
|
createTime,
|
|
|
|
|
erpId,
|
|
|
|
|
updateTime
|
|
|
|
|
updateTime,
|
|
|
|
|
approvalNum
|
|
|
|
|
from third_ali_drug
|
|
|
|
|
<where>
|
|
|
|
|
<if test="cpmctymc != '' and cpmctymc != null">
|
|
|
|
@ -83,4 +83,5 @@
|
|
|
|
|
</if>
|
|
|
|
|
</where>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|