|
@@ -140,24 +140,24 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="prescribeFactory != null and prescribeFactory != ''"> and prescribe_factory = #{prescribeFactory}</if>
|
|
|
<if test="prescribeName != null and prescribeName != ''"> and prescribe_name like concat('%', #{prescribeName}, '%')</if>
|
|
|
<if test="isDisplay != null "> and is_display = #{isDisplay}</if>
|
|
|
- <if test="isDrug != null and isDrug != ''">and is_drug = #{isDrug} ,</if>
|
|
|
- <if test="drugImage != null and drugImage != ''">and drug_image = #{drugImage} ,</if>
|
|
|
- <if test="drugRegCertNo != null and drugRegCertNo != ''">and drug_reg_cert_no = #{drugRegCertNo} ,</if>
|
|
|
- <if test="commonName != null and commonName != ''">and common_name = #{commonName} ,</if>
|
|
|
- <if test="dosageForm != null and dosageForm != ''">and dosage_form = #{dosageForm} ,</if>
|
|
|
- <if test="unitPrice != null and unitPrice != ''">and unit_price = #{unitPrice} ,</if>
|
|
|
- <if test="batchNumber != null and batchNumber != ''">and batch_number = #{batchNumber} ,</if>
|
|
|
- <if test="mah != null and mah != ''">and mah = #{mah} ,</if>
|
|
|
- <if test="mahAddress != null and mahAddress != ''">and mah_address = #{mahAddress} ,</if>
|
|
|
- <if test="manufacturer != null and manufacturer != ''">and manufacturer = #{manufacturer} ,</if>
|
|
|
- <if test="manufacturerAddress != null and manufacturerAddress != ''">and manufacturer_address= #{manufacturerAddress} ,</if>
|
|
|
- <if test="indications != null and indications != ''">and indications = #{indications} ,</if>
|
|
|
- <if test="dosage != null and dosage != ''">and dosage = #{dosage} ,</if>
|
|
|
- <if test="adverseReactions != null and adverseReactions != ''">and adverse_reactions = #{adverseReactions} ,</if>
|
|
|
- <if test="contraindications != null and contraindications != ''">and contraindications = #{contraindications} ,</if>
|
|
|
- <if test="precautions != null and precautions != ''">and precautions = #{precautions} ,</if>
|
|
|
- <if test="isAudit != null and isAudit != ''">and is_audit = #{isAudit} ,</if>
|
|
|
- <if test="storeId != null and storeId != ''">and store_id = #{storeId} ,</if>
|
|
|
+ <if test="isDrug != null and isDrug != ''">and is_drug = #{isDrug} </if>
|
|
|
+ <if test="drugImage != null and drugImage != ''">and drug_image = #{drugImage} </if>
|
|
|
+ <if test="drugRegCertNo != null and drugRegCertNo != ''">and drug_reg_cert_no = #{drugRegCertNo} </if>
|
|
|
+ <if test="commonName != null and commonName != ''">and common_name = #{commonName} </if>
|
|
|
+ <if test="dosageForm != null and dosageForm != ''">and dosage_form = #{dosageForm} </if>
|
|
|
+ <if test="unitPrice != null and unitPrice != ''">and unit_price = #{unitPrice} </if>
|
|
|
+ <if test="batchNumber != null and batchNumber != ''">and batch_number = #{batchNumber} </if>
|
|
|
+ <if test="mah != null and mah != ''">and mah = #{mah} </if>
|
|
|
+ <if test="mahAddress != null and mahAddress != ''">and mah_address = #{mahAddress} </if>
|
|
|
+ <if test="manufacturer != null and manufacturer != ''">and manufacturer = #{manufacturer} </if>
|
|
|
+ <if test="manufacturerAddress != null and manufacturerAddress != ''">and manufacturer_address= #{manufacturerAddress} </if>
|
|
|
+ <if test="indications != null and indications != ''">and indications = #{indications} </if>
|
|
|
+ <if test="dosage != null and dosage != ''">and dosage = #{dosage} </if>
|
|
|
+ <if test="adverseReactions != null and adverseReactions != ''">and adverse_reactions = #{adverseReactions} </if>
|
|
|
+ <if test="contraindications != null and contraindications != ''">and contraindications = #{contraindications} </if>
|
|
|
+ <if test="precautions != null and precautions != ''">and precautions = #{precautions} </if>
|
|
|
+ <if test="isAudit != null and isAudit != ''">and is_audit = #{isAudit} </if>
|
|
|
+ <if test="storeId != null and storeId != ''">and store_id = #{storeId} </if>
|
|
|
</where>
|
|
|
</select>
|
|
|
|