Browse Source

feat(all): 价格体系

1 增加定时任务更新价格生效状态
dev
zhaoqiaobo 1 month ago
parent
commit
d5767d689a
  1. 8
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml
  2. 2283
      blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceServiceImpl.java

8
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/mapper/BasicdataPriceMapper.xml

@ -240,10 +240,14 @@
</foreach> </foreach>
</if> </if>
<if test="basicdataPrice.ids != null and basicdataPrice.ids != ''"> <if test="basicdataPrice.ids != null and basicdataPrice.ids != ''">
and t.id in and t.client_id in (select client_id from logpm_basicdata_price where id in
<foreach collection="basicdataPrice.ids.split(',')" item="item" separator="," open="(" close=")"> <foreach collection="basicdataPrice.ids.split(',')" item="item" separator="," open="(" close=")">
#{item} #{item}
</foreach> </foreach>)
and t.brand_id in (select brand_id from logpm_basicdata_price where id in
<foreach collection="basicdataPrice.ids.split(',')" item="item" separator="," open="(" close=")">
#{item}
</foreach>)
</if> </if>
</select> </select>
</mapper> </mapper>

2283
blade-service/logpm-basicdata/src/main/java/com/logpm/basicdata/service/impl/BasicdataPriceServiceImpl.java

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save