后台--运费模板:配送区域修改
parent
d76f9950a1
commit
a9d146cba1
|
@ -48,4 +48,7 @@ public class ShippingTemplatesFreeRespVO implements Serializable {
|
|||
@NotNull(message = "请填写包邮金额")
|
||||
@DecimalMin(value = "0", message = "包邮金额不能低于0")
|
||||
private BigDecimal price;
|
||||
|
||||
@Schema(description = "分组唯一值", required = true)
|
||||
private String uniqid;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,8 @@ public class ShippingTemplatesNoDeliveryRespVO implements Serializable {
|
|||
@NotNull(message = "请选择城市")
|
||||
private String cityId;
|
||||
|
||||
|
||||
@Schema(description = "分组唯一值", required = true)
|
||||
private String uniqid;
|
||||
|
||||
@Schema(description = "省ID, 多个逗号分割。 全国 all", required = true, example = "1,2,3,4")
|
||||
private String provinceId;
|
||||
|
|
|
@ -55,4 +55,7 @@ public class ShippingTemplatesRegionRespVO implements Serializable {
|
|||
@DecimalMin(value = "0.1", message = "续件运费金额不能低于0.1")
|
||||
private BigDecimal renewalPrice;
|
||||
|
||||
@Schema(description = "分组唯一值", required = true)
|
||||
private String uniqid;
|
||||
|
||||
}
|
||||
|
|
|
@ -3,6 +3,6 @@
|
|||
<mapper namespace="cn.iocoder.yudao.module.shop.dal.mysql.express.ShippingTemplatesRegionMapper">
|
||||
|
||||
<select id="getListGroup" resultType="cn.iocoder.yudao.module.shop.controller.admin.express.vo.ShippingTemplatesRegionRespVO" parameterType="integer">
|
||||
SELECT group_concat(`city_id`) AS city_id, `first`, first_price, `renewal`, renewal_price, uniqid FROM eb_shipping_templates_region where temp_id = #{tempId, jdbcType=INTEGER} GROUP BY `uniqid`,id ORDER BY id ASC
|
||||
SELECT group_concat(`city_id`) AS city_id, province_id, `first`, first_price, `renewal`, renewal_price, uniqid FROM eb_shipping_templates_region where temp_id = #{tempId, jdbcType=INTEGER} GROUP BY `uniqid`,id ORDER BY id ASC
|
||||
</select>
|
||||
</mapper>
|
||||
|
|
Loading…
Reference in New Issue