|
|
@@ -13,7 +13,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 from yp_zd_dict where code = #{code,jdbcType=VARCHAR} and serial = #{serial}")
|
|
|
+ @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 from yp_zd_dict where code = #{code,jdbcType=VARCHAR} and serial = #{serial}")
|
|
|
YpZdDict selectYpZdDictByCodeAndSerial(@Param("code") String code,@Param("serial") String serial);
|
|
|
|
|
|
/**
|
|
|
@@ -23,7 +23,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 from yp_zd_dict",
|
|
|
+ "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 from yp_zd_dict",
|
|
|
"<when test='codes!=null'>",
|
|
|
" where code in",
|
|
|
"<foreach item='item' index='index' collection='codes' open='(' separator=',' close=')'>",
|
|
|
@@ -41,6 +41,6 @@ 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 from yp_zd_dict 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 from yp_zd_dict where code = #{code,jdbcType=VARCHAR} ")
|
|
|
List<YpZdDict> selectYpZdDictByCode(@Param("code") String code);
|
|
|
}
|