feat: 优化

v3
chenhc 4 months ago
parent 4c61a8e4e6
commit daffb56657

@ -39,7 +39,8 @@ public class ThirdAliDrugController {
if (StrUtil.isEmpty(thirdAliDrug.getApprovalNum()) && StrUtil.isEmpty(thirdAliDrug.getNameCode()) &&
StrUtil.isEmpty(thirdAliDrug.getCpmctymc())
StrUtil.isEmpty(thirdAliDrug.getCpmctymc())&&
StrUtil.isEmpty(thirdAliDrug.getManufacturer())
) {
return ResultVOUtils.success("查询参数不能为空");
}

@ -91,6 +91,9 @@
<if test="approvalNum != '' and approvalNum != null">
AND approvalNum = #{approvalNum}
</if>
<if test="manufacturer != '' and manufacturer != null">
AND manufacturer = #{manufacturer}
</if>
</where>
</select>
</mapper>

Loading…
Cancel
Save