YpZdDictMapper.java 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. package cn.hnthyy.thmz.mapper.his.yp;
  2. import cn.hnthyy.thmz.entity.his.yp.YpBarInfo;
  3. import cn.hnthyy.thmz.entity.his.yp.YpZdDict;
  4. import cn.hnthyy.thmz.vo.YpZdDictVo;
  5. import org.apache.ibatis.annotations.Insert;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.apache.ibatis.annotations.Select;
  8. import org.apache.ibatis.annotations.Update;
  9. import java.util.List;
  10. public interface YpZdDictMapper {
  11. /**
  12. * 根据药品编码和规格查询药品信息
  13. *
  14. * @param code
  15. * @return
  16. */
  17. @Select("select code, serial, name, class_code, dosage, concentration, weight, weigh_unit, volum, vol_unit, mini_unit," +
  18. " pack_size, pack_unit, ltrim(specification)specification, ltrim(specification2)specification2, pack_retprice, retprice, percent_group_mz, percent_group_zy," +
  19. " self_flag, separate_flag, suprice_flag, drug_flag, py_code, d_code as wb_code, infusion_flag, visible_flag, del_flag," +
  20. " country_flag, fix_price, new_flag, manu_code, yb_flag, sort_code, gmp_flag, cold_flag, chem_remark, drug_kind," +
  21. " zb_flag, zb_supplyer, n_code as yn_code, bill_item_mz, bill_item_zy, supply_type, rtrim(frequency)frequency, ps_flag, ex_code, kss_flag," +
  22. " zj_flag, spec_b, yb_code, yb_type, yb_code_zf, init_flag, yp_level, drug_id, serial_old, spec_pack, xnh_flag," +
  23. " buy_price, self_flag_yb, order_dosage, dosage_unit, yb_comment, isnull(rtrim(jb_flag),0) jb_flag, location, zs_flag, rtrim(audit_code)audit_code, comment," +
  24. " categories_flag, father_flag, ybxj_price, ym_flag, dpym_flag, yb_comment2, yb_code2, rtrim(kjyw_flag)kjyw_flag, ygyyjc_type," +
  25. " ddd_value, kj_limit_flag, yp_id, xtpp_name, sp_name, qj_flag, js_flag, rtrim(pzwh)pzwh, xnh_code, xnh_name, xnh_ratio," +
  26. " xnh_quotamoney, xnh_status, xnh_bl, city_bl, syb_bl, cl_flag, avg_price, yb_flag_city, yb_flag_xnh, yb_code_city," +
  27. " yb_code_xnh, yb_comment_city, yb_comment_xnh, ddd_unit, wg_type, fh_name, yb_flag_new, yb_comment_new, rtrim(yb_bl_new)yb_bl_new," +
  28. " wjw_ypid, yjj_ypid, rsb_ypid, mz_restrict, isnull(byj_flag,0) byj_flag, national_code, national_name, national_status, match_oper," +
  29. " match_date, cancel_match_oper, cancel_match_date, new_name, oper_id, oper_date, uploaded_flag, prescription_limit_days," +
  30. " isnull(fz_flag,0)fz_flag,isnull(is_central_purchase,0)is_central_purchase,purchase_code,drug_control_code,selfpay_prop,bar_code,buy_flag,health_flag,health_content" +
  31. " from yp_zd_dict WITH(NOLOCK) where code = #{code,jdbcType=VARCHAR} and serial = #{serial}")
  32. YpZdDict selectYpZdDictByCodeAndSerial(@Param("code") String code, @Param("serial") String serial);
  33. /**
  34. * 根据药品编码集合查询药品字典列表
  35. *
  36. * @param codes
  37. * @return
  38. */
  39. @Select({"<script>",
  40. "select code, serial, name, class_code, dosage, concentration, weight, weigh_unit, volum, vol_unit, mini_unit," +
  41. " pack_size, pack_unit, ltrim(specification)specification, ltrim(specification2)specification2, pack_retprice, retprice, percent_group_mz, percent_group_zy," +
  42. " self_flag, separate_flag, suprice_flag, drug_flag, py_code, d_code as wb_code, infusion_flag, visible_flag, del_flag," +
  43. " country_flag, fix_price, new_flag, manu_code, yb_flag, sort_code, gmp_flag, cold_flag, chem_remark, drug_kind," +
  44. " zb_flag, zb_supplyer, n_code as yn_code, bill_item_mz, bill_item_zy, supply_type, rtrim(frequency)frequency, ps_flag, ex_code, kss_flag," +
  45. " zj_flag, spec_b, yb_code, yb_type, yb_code_zf, init_flag, yp_level, drug_id, serial_old, spec_pack, xnh_flag," +
  46. " buy_price, self_flag_yb, order_dosage, dosage_unit, yb_comment, isnull(rtrim(jb_flag),0) jb_flag, location, zs_flag, rtrim(audit_code)audit_code, comment," +
  47. " categories_flag, father_flag, ybxj_price, ym_flag, dpym_flag, yb_comment2, yb_code2, rtrim(kjyw_flag)kjyw_flag, ygyyjc_type," +
  48. " ddd_value, kj_limit_flag, yp_id, xtpp_name, sp_name, qj_flag, js_flag, rtrim(pzwh)pzwh, xnh_code, xnh_name, xnh_ratio," +
  49. " xnh_quotamoney, xnh_status, xnh_bl, city_bl, syb_bl, cl_flag, avg_price, yb_flag_city, yb_flag_xnh, yb_code_city," +
  50. " yb_code_xnh, yb_comment_city, yb_comment_xnh, ddd_unit, wg_type, fh_name, yb_flag_new, yb_comment_new, rtrim(yb_bl_new)yb_bl_new," +
  51. " wjw_ypid, yjj_ypid, rsb_ypid, mz_restrict, isnull(byj_flag,0) byj_flag, national_code, national_name, national_status, match_oper," +
  52. " match_date, cancel_match_oper, cancel_match_date, new_name, oper_id, oper_date, uploaded_flag, prescription_limit_days," +
  53. " isnull(fz_flag,0)fz_flag,isnull(is_central_purchase,0)is_central_purchase,purchase_code,drug_control_code,selfpay_prop,bar_code,buy_flag,health_flag,health_content" +
  54. " from yp_zd_dict WITH(NOLOCK)",
  55. "<when test='codes!=null'>",
  56. " where code in",
  57. "<foreach item='item' index='index' collection='codes' open='(' separator=',' close=')'>",
  58. "#{item}",
  59. "</foreach>",
  60. "</when>",
  61. "</script>"})
  62. List<YpZdDict> selectYpZdDictByCodeList(@Param("codes") List<String> codes);
  63. /**
  64. * 根据药品编码查询药品信息
  65. *
  66. * @param code
  67. * @return
  68. */
  69. @Select("select code, serial, name, class_code, dosage, concentration, weight, weigh_unit, volum, vol_unit, mini_unit," +
  70. " pack_size, pack_unit, ltrim(specification)specification, ltrim(specification2)specification2, pack_retprice, retprice, percent_group_mz, percent_group_zy," +
  71. " self_flag, separate_flag, suprice_flag, drug_flag, py_code, d_code as wb_code, infusion_flag, visible_flag, del_flag," +
  72. " country_flag, fix_price, new_flag, manu_code, yb_flag, sort_code, gmp_flag, cold_flag, chem_remark, drug_kind," +
  73. " zb_flag, zb_supplyer, n_code as yn_code, bill_item_mz, bill_item_zy, supply_type, rtrim(frequency)frequency, ps_flag, ex_code, kss_flag," +
  74. " zj_flag, spec_b, yb_code, yb_type, yb_code_zf, init_flag, yp_level, drug_id, serial_old, spec_pack, xnh_flag," +
  75. " buy_price, self_flag_yb, order_dosage, dosage_unit, yb_comment, isnull(rtrim(jb_flag),0) jb_flag, location, zs_flag, rtrim(audit_code)audit_code, comment," +
  76. " categories_flag, father_flag, ybxj_price, ym_flag, dpym_flag, yb_comment2, yb_code2, rtrim(kjyw_flag)kjyw_flag, ygyyjc_type," +
  77. " ddd_value, kj_limit_flag, yp_id, xtpp_name, sp_name, qj_flag, js_flag, rtrim(pzwh)pzwh, xnh_code, xnh_name, xnh_ratio," +
  78. " xnh_quotamoney, xnh_status, xnh_bl, city_bl, syb_bl, cl_flag, avg_price, yb_flag_city, yb_flag_xnh, yb_code_city," +
  79. " yb_code_xnh, yb_comment_city, yb_comment_xnh, ddd_unit, wg_type, fh_name, yb_flag_new, yb_comment_new, rtrim(yb_bl_new)yb_bl_new," +
  80. " wjw_ypid, yjj_ypid, rsb_ypid, mz_restrict, isnull(byj_flag,0) byj_flag, national_code, national_name, national_status, match_oper," +
  81. " match_date, cancel_match_oper, cancel_match_date, new_name, oper_id, oper_date, uploaded_flag, prescription_limit_days," +
  82. " isnull(fz_flag,0)fz_flag,isnull(is_central_purchase,0)is_central_purchase,purchase_code,drug_control_code,selfpay_prop,bar_code,buy_flag,health_flag,health_content" +
  83. " from yp_zd_dict WITH(NOLOCK) where code = #{code,jdbcType=VARCHAR} ")
  84. List<YpZdDict> selectYpZdDictByCode(@Param("code") String code);
  85. /**
  86. * 模糊查询药品关联药库
  87. *
  88. * @param searchTextDrug
  89. * @return
  90. */
  91. @Select("SELECT distinct a.code," +
  92. " a.serial," +
  93. " a.name," +
  94. " a.pack_size," +
  95. " a.pack_retprice," +
  96. " ltrim(a.specification)specification," +
  97. " a.drug_flag ," +
  98. " a.fix_price," +
  99. " a.manu_code," +
  100. " a.bar_code," +
  101. " a.del_flag," +
  102. " a.class_code," +
  103. " a.prescription_limit_days," +
  104. " a.mz_restrict" +
  105. " FROM yp_zd_dict a WITH(NOLOCK) ,yp_print_name b WITH(NOLOCK) , yp_base c WITH(NOLOCK) " +
  106. " where" +
  107. " (b.py_code like '%${searchTextDrug}%' or a.py_code like '%${searchTextDrug}%' or" +
  108. " b.d_code like '%${searchTextDrug}%' or a.d_code like '%${searchTextDrug}%' or" +
  109. " b.charge_code = #{searchTextDrug} or" +
  110. " b.print_name like '%${searchTextDrug}%' or a.name like '%${searchTextDrug}%') and" +
  111. " a.code=b.charge_code and" +
  112. " a.code=c.charge_code order by a.del_flag")
  113. List<YpZdDict> selectYpBySearchText(@Param("searchTextDrug") String searchTextDrug);
  114. /**
  115. * 模糊查询所有药品
  116. *
  117. * @param searchText
  118. * @return
  119. */
  120. @Select("select top 200 d.code, d.serial, d.name, d.class_code, d.dosage, d.concentration, d.weight, d.weigh_unit, d.volum, d.vol_unit, d.mini_unit," +
  121. " pack_size, d.pack_unit, ltrim(d.specification)specification, ltrim(d.specification2)specification2, d.pack_retprice, d.retprice, d.percent_group_mz, d.percent_group_zy," +
  122. " self_flag, d.separate_flag, d.suprice_flag, d.drug_flag, d.py_code, d.d_code as wb_code, d.infusion_flag, d.visible_flag, d.del_flag," +
  123. " country_flag, d.fix_price, d.new_flag, d.manu_code, d.yb_flag, d.sort_code, d.gmp_flag, d.cold_flag, d.chem_remark, d.drug_kind," +
  124. " zb_flag, d.zb_supplyer, d.n_code as yn_code, d.bill_item_mz, d.bill_item_zy, d.supply_type, rtrim(d.frequency)frequency, d.ps_flag, d.ex_code, d.kss_flag," +
  125. " zj_flag, d.spec_b, d.yb_code, d.yb_type, d.yb_code_zf, d.init_flag, d.yp_level, d.drug_id, d.serial_old, d.spec_pack, d.xnh_flag," +
  126. " buy_price, d.self_flag_yb, d.order_dosage, d.dosage_unit, d.yb_comment, isnull(rtrim(jb_flag),0) jb_flag, d.location, d.zs_flag, rtrim(d.audit_code)audit_code, d.comment," +
  127. " categories_flag, d.father_flag, d.ybxj_price, d.ym_flag, d.dpym_flag, d.yb_comment2, d.yb_code2, rtrim(d.kjyw_flag)kjyw_flag, d.ygyyjc_type," +
  128. " ddd_value, d.kj_limit_flag, d.yp_id, d.xtpp_name, d.sp_name, d.qj_flag, d.js_flag, rtrim(d.pzwh)pzwh, d.xnh_code, d.xnh_name, d.xnh_ratio," +
  129. " xnh_quotamoney, d.xnh_status, d.xnh_bl, d.city_bl, d.syb_bl, d.cl_flag, d.avg_price, d.yb_flag_city, d.yb_flag_xnh, d.yb_code_city," +
  130. " yb_code_xnh, d.yb_comment_city, d.yb_comment_xnh, d.ddd_unit, d.wg_type, d.fh_name, d.yb_flag_new, d.yb_comment_new, rtrim(d.yb_bl_new)yb_bl_new," +
  131. " wjw_ypid, d.yjj_ypid, d.rsb_ypid, d.mz_restrict, isnull(byj_flag,0) byj_flag, d.national_code, d.national_name, d.national_status, d.match_oper," +
  132. " match_date, d.cancel_match_oper, d.cancel_match_date, d.new_name, d.oper_id, d.oper_date, d.uploaded_flag, d.prescription_limit_days,d.antitumor_level," +
  133. " isnull(fz_flag,0)fz_flag,isnull(is_central_purchase,0)is_central_purchase,purchase_code,drug_control_code,selfpay_prop,d.bar_code,d.buy_flag,d.health_flag,d.health_content " +
  134. " from " +
  135. " (select a.code, max(a.serial)serial" +
  136. " FROM yp_zd_dict a WITH(NOLOCK) ,yp_print_name b WITH(NOLOCK) " +
  137. " where" +
  138. " (b.py_code like '${searchText}%' or a.py_code like '${searchText}%' or" +
  139. " b.d_code like '${searchText}%' or a.d_code like '${searchText}%' or" +
  140. " b.charge_code = #{searchText} or" +
  141. " b.print_name like '${searchText}%' or a.name like '${searchText}%') and" +
  142. " a.code=b.charge_code group by a.code)as cc,yp_zd_dict d where cc.code=d.code and cc.serial=d.serial order by d.del_flag")
  143. List<YpZdDict> selectYpZdDictByLike(@Param("searchText") String searchText);
  144. /**
  145. * 更新药品处方限制天数
  146. *
  147. * @param prescriptionLimitDays
  148. * @param code
  149. * @return
  150. */
  151. @Update("update yp_zd_dict set prescription_limit_days=#{prescriptionLimitDays} where code = #{code}")
  152. int updateYpZdDictPrescriptionLimitDays(@Param("prescriptionLimitDays") Integer prescriptionLimitDays, @Param("code") String code);
  153. /**
  154. * 更新药品门诊月限购量
  155. *
  156. * @param mzRestrict
  157. * @param code
  158. * @return
  159. */
  160. @Update("update yp_zd_dict set mz_restrict=#{mzRestrict} where code = #{code}")
  161. int updateYpZdDictMzRestrict(@Param("mzRestrict") Integer mzRestrict, @Param("code") String code);
  162. /**
  163. * 更新药品信息
  164. *
  165. * @return
  166. */
  167. @Update({"<script>",
  168. "update yp_zd_dict ",
  169. "<trim prefix='set' prefixOverrides=',' >",
  170. "<when test='packRetprice!=null'>",
  171. ",pack_retprice =#{packRetprice,jdbcType=DOUBLE}",
  172. "</when>",
  173. "<when test='retprice!=null'>",
  174. ",retprice =#{retprice,jdbcType=DOUBLE}",
  175. "</when>",
  176. "<when test='buyPrice!=null'>",
  177. ",buy_price =#{buyPrice,jdbcType=DOUBLE}",
  178. "</when>",
  179. "<when test='fixPrice!=null'>",
  180. ",fix_price =#{fixPrice,jdbcType=DOUBLE}",
  181. "</when>",
  182. "<when test='ybxjPrice!=null'>",
  183. ",ybxj_price =#{ybxjPrice,jdbcType=DOUBLE}",
  184. "</when>",
  185. "<when test='avgPrice!=null'>",
  186. ",avg_price =#{avgPrice,jdbcType=DOUBLE}",
  187. "</when>",
  188. "<when test='manuCode!=null'>",
  189. ",manu_code =#{manuCode}",
  190. "</when>",
  191. "</trim>" +
  192. "<where>" +
  193. " <if test=\"code != null and code != ''\">" +
  194. " AND code = #{code}" +
  195. " </if>" +
  196. " <if test=\"serial != null and serial != ''\">" +
  197. " AND serial = #{serial}" +
  198. " </if>" +
  199. "</where>",
  200. "</script>"})
  201. int updateYpZdDict(YpZdDict ypZdDict);
  202. /**
  203. * 更新药品信息
  204. *
  205. * @return
  206. */
  207. @Update({"<script>",
  208. "update yp_zd_dict set ${sql} where code = #{code} AND serial = #{serial}",
  209. "</script>"})
  210. int updateYpZdDictSql(@Param("sql") String sql, @Param("code") String code, @Param("serial") String serial);
  211. /**
  212. * 大包装同步小包装数据
  213. *
  214. * @return
  215. */
  216. @Update({"<script>",
  217. "update yp_zd_dict set" +
  218. " yp_zd_dict.name =b.name , py_code =b.py_code , d_code =b.d_code , specification =b.specification2 , specification2 =b.specification2 ," +
  219. " class_code =b.class_code , dosage =b.dosage , concentration =b.concentration , weight =b.weight , weigh_unit =b.weigh_unit ," +
  220. " volum =b.volum , vol_unit =b.vol_unit , mini_unit =b.mini_unit , pack_unit =b.mini_unit , self_flag =b.self_flag ," +
  221. " separate_flag =b.separate_flag , suprice_flag =b.suprice_flag , drug_flag =b.drug_flag , infusion_flag =b.infusion_flag ," +
  222. " country_flag =b.country_flag , manu_code =b.manu_code , drug_kind =b.drug_kind , gmp_flag =b.gmp_flag , cold_flag =b.cold_flag ," +
  223. " chem_remark =b.chem_remark , bill_item_mz =b.bill_item_mz , bill_item_zy =b.bill_item_zy , percent_group_mz =b.percent_group_mz ," +
  224. " percent_group_zy =b.percent_group_zy , del_flag =b.del_flag , yb_flag =b.yb_flag , self_flag_yb =b.self_flag_yb , n_code =b.n_code , zb_flag =b.zb_flag ," +
  225. " zb_supplyer =b.zb_supplyer , ps_flag =b.ps_flag , ex_code =b.ex_code , supply_type =b.supply_type , frequency =rtrim(b.frequency) ," +
  226. " kss_flag =b.kss_flag , yp_level =b.yp_level , drug_id =b.drug_id , yb_code =b.yb_code, yb_comment =b.yb_comment , xnh_flag =b.xnh_flag , jb_flag =b.jb_flag ," +
  227. " audit_code =b.audit_code , comment =b.comment , categories_flag =b.categories_flag , ym_flag =b.ym_flag , dpym_flag =b.dpym_flag ," +
  228. " father_flag =b.father_flag , yb_code2 =b.yb_code2 , yb_comment2 =b.yb_comment2 , kjyw_flag =rtrim(b.kjyw_flag) , ygyyjc_type =b.ygyyjc_type ," +
  229. " ddd_value =b.ddd_value , yp_id =b.yp_id , xtpp_name =b.xtpp_name , sp_name =b.sp_name , yb_comment_new =b.yb_comment_new ," +
  230. " yb_bl_new =b.yb_bl_new , yb_flag_new =b.yb_flag_new , byj_flag =b.byj_flag,drug_control_code =b.drug_control_code,antitumor_level=b.antitumor_level" +
  231. " from ( select *from yp_zd_dict ) as b" +
  232. " where yp_zd_dict.code =#{code} and yp_zd_dict.serial !=#{serial} and yp_zd_dict.code =b.code and b.serial =#{serial}",
  233. "</script>"})
  234. int updateYpZdDictSync(@Param("code") String code, @Param("serial") String serial);
  235. /**
  236. * 获取范围内最大code
  237. *
  238. * @return
  239. */
  240. @Select("select max ( code ) from yp_zd_dict WITH(NOLOCK) where code >= #{minNum} and code <= #{maxNum}")
  241. String selectMaxCode(@Param("minNum") String minNum, @Param("maxNum") String maxNum);
  242. /**
  243. * 新增药品
  244. *
  245. * @return
  246. */
  247. @Insert("INSERT INTO yp_zd_dict ${sql}")
  248. int insertYpZdDictSql(@Param("sql") String sql);
  249. /**
  250. * 查询入库药品名称
  251. *
  252. * @return
  253. */
  254. @Select("select name,code from yp_zd_dict where code = #{code} group by name,code ")
  255. YpZdDict selectNameByCode(@Param("code") String code);
  256. /**
  257. * 根据输入参数模糊查询药品列表
  258. *
  259. * @param code
  260. * @return
  261. */
  262. @Select({"<script>",
  263. "select top 50 rtrim(code) code,rtrim(name) name from yp_zd_dict WITH(NOLOCK) ",
  264. "<when test='code!=null'>",
  265. " where (code like #{code} or name like #{code} or py_code like #{code} or d_code like #{code})",
  266. "</when>",
  267. " GROUP BY code,name </script>"})
  268. List<YpZdDict> selectYpZdDictList(@Param("code") String code);
  269. /**
  270. * @Description 药品编码与医嘱编码冲突重置编码
  271. * @Author hsh
  272. * @param code 新增预置药品编码
  273. * @return int
  274. * @Date 2024/1/29 15:15
  275. */
  276. @Select(" select count(1) from yz_zd_order_item_confirm where yz_zd_order_item_confirm.order_code = #{code} ")
  277. int selectYzOrderItemByCode(@Param("code") String code);
  278. /**
  279. * @Description 更新药品商品码
  280. * @Author hsh
  281. * @param drugBarCode 药品商品码
  282. * @return
  283. * @Date 2024/11/6 11:19
  284. */
  285. @Update(" update yp_zd_dict set bar_code = #{barCode} where code = #{code} ")
  286. int updateYpZdDictByBarCode(@Param("code") String code, @Param("barCode") String barCode);
  287. @Insert(" insert into yp_bar_info (charge_code, bar_code, charge_name, specification, manu_code, manu_name, pack_retprice, pzwh, bar_flag, create_date) " +
  288. " values (#{chargeCode}, #{barCode}, #{chargeName}, #{specification}, #{manuCode}, #{manuName}, #{packRetprice}, #{pzwh}, #{barFlag}, #{createDate}" +
  289. " ) ")
  290. void insertDrugBarInfo(YpBarInfo bar);
  291. @Select(" select * from yp_bar_info where charge_code = #{chargeCode} and bar_flag = #{barFlag} ")
  292. YpBarInfo selectDrugBarCodeByCode(@Param("chargeCode") String chargeCode, @Param("barFlag") String barFlag);
  293. @Update(" update yp_bar_info set bar_code = #{barCode} where charge_code = #{chargeCode} and bar_flag = #{barFlag} ")
  294. void updateDrugBarCodeByCode(@Param("chargeCode") String chargeCode, @Param("barCode") String barCode, @Param("barFlag") String barFlag);
  295. @Select(" select * from yp_zd_dict where bar_code = #{barCode} ")
  296. List<YpZdDictVo> selectYpZdDictListByBarCode(@Param("barCode") String barCode);
  297. @Update(" update yp_zd_dict set buy_flag = #{buyFlag} where code = #{code} ")
  298. int updateYpBuyFlag(@Param("code") String code, @Param("buyFlag") String buyFlag);
  299. @Update(" update yp_zd_dict set health_flag = #{healthFlag}, health_content = #{healthContent} where code = #{code} ")
  300. int saveDrugHealthFlag(@Param("code") String code, @Param("healthFlag") String healthFlag, @Param("healthContent") String healthContent);
  301. }