| | |
| | | |
| | | |
| | | import cn.hutool.core.collection.CollUtil; |
| | | import cn.hutool.core.util.StrUtil; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | |
| | | @Transactional |
| | | public FebsResponse bzzNewPriceUpdate(BzzNewPriceDto bzzNewPriceDto) { |
| | | String newprice = bzzNewPriceDto.getNewprice(); |
| | | if(StrUtil.isEmpty(newprice)){ |
| | | return new FebsResponse().fail().message("最新价不能为空"); |
| | | } |
| | | boolean flag = redisUtils.set("bzz_order_new_price", newprice); |
| | | if(flag){ |
| | | return new FebsResponse().success().message("设置成功"); |