|
@@ -14,7 +14,7 @@ public interface YpZdDictMapper {
|
|
|
* @param code
|
|
|
* @return
|
|
|
*/
|
|
|
- @Select("select code,name,specification,mz_restrict,bill_item_mz,bill_item_zy,pack_retprice,country_flag,supply_type,pack_unit,weight,volum,weigh_unit,vol_unit,pack_size,manu_code,frequency,serial,drug_flag,mini_unit,ps_flag,retprice,fix_price,buy_price,isnull(byj_flag,0) byj_flag,national_code,prescription_limit_days,pzwh,dosage,drug_kind,wg_type,isnull(rtrim(jb_flag),0) jb_flag from yp_zd_dict WITH(NOLOCK) where code = #{code,jdbcType=VARCHAR} and serial = #{serial}")
|
|
|
+ @Select("select code,name,specification,mz_restrict,bill_item_mz,bill_item_zy,pack_retprice,country_flag,supply_type,pack_unit,weight,volum,weigh_unit,vol_unit,pack_size,manu_code,frequency,serial,drug_flag,mini_unit,ps_flag,retprice,fix_price,buy_price,isnull(byj_flag,0) byj_flag,national_code,prescription_limit_days,pzwh,dosage,drug_kind,wg_type,isnull(rtrim(jb_flag),0) jb_flag,categories_flag from yp_zd_dict WITH(NOLOCK) where code = #{code,jdbcType=VARCHAR} and serial = #{serial}")
|
|
|
YpZdDict selectYpZdDictByCodeAndSerial(@Param("code") String code,@Param("serial") String serial);
|
|
|
|
|
|
/**
|
|
@@ -24,7 +24,7 @@ public interface YpZdDictMapper {
|
|
|
* @return
|
|
|
*/
|
|
|
@Select({"<script>",
|
|
|
- "select code,name,specification,mz_restrict,bill_item_mz,pack_retprice,country_flag,supply_type,pack_unit,weight,volum,weigh_unit,vol_unit,pack_size,manu_code,frequency,serial,drug_flag,mini_unit,ps_flag,retprice,fix_price,buy_price,prescription_limit_days from yp_zd_dict WITH(NOLOCK)",
|
|
|
+ "select code,name,specification,mz_restrict,bill_item_mz,pack_retprice,country_flag,supply_type,pack_unit,weight,volum,weigh_unit,vol_unit,pack_size,manu_code,frequency,serial,drug_flag,mini_unit,ps_flag,retprice,fix_price,buy_price,prescription_limit_days,pzwh,dosage,drug_kind,wg_type,isnull(rtrim(jb_flag),0) jb_flag,categories_flag from yp_zd_dict WITH(NOLOCK)",
|
|
|
"<when test='codes!=null'>",
|
|
|
" where code in",
|
|
|
"<foreach item='item' index='index' collection='codes' open='(' separator=',' close=')'>",
|
|
@@ -42,7 +42,7 @@ public interface YpZdDictMapper {
|
|
|
* @param code
|
|
|
* @return
|
|
|
*/
|
|
|
- @Select("select code,name,specification,mz_restrict,bill_item_mz,pack_retprice,country_flag,supply_type,pack_unit,weight,volum,weigh_unit,vol_unit,pack_size,manu_code,frequency,serial,drug_flag,mini_unit,ps_flag,retprice,fix_price,buy_price,prescription_limit_days from yp_zd_dict WITH(NOLOCK) where code = #{code,jdbcType=VARCHAR} ")
|
|
|
+ @Select("select code,name,specification,mz_restrict,bill_item_mz,pack_retprice,country_flag,supply_type,pack_unit,weight,volum,weigh_unit,vol_unit,pack_size,manu_code,frequency,serial,drug_flag,mini_unit,ps_flag,retprice,fix_price,buy_price,prescription_limit_days,pzwh,dosage,drug_kind,wg_type,isnull(rtrim(jb_flag),0) jb_flag,categories_flag from yp_zd_dict WITH(NOLOCK) where code = #{code,jdbcType=VARCHAR} ")
|
|
|
List<YpZdDict> selectYpZdDictByCode(@Param("code") String code);
|
|
|
|
|
|
/**
|