| | |
| | | goods.setClinicPurchasePrice(BigDecimal.valueOf(dto.getClinicPurchasePrice()).setScale(2, RoundingMode.HALF_UP)); |
| | | goods.setPlatformCommissionPrice(BigDecimal.valueOf(dto.getPlatformCommissionPrice()).setScale(2, RoundingMode.HALF_UP)); |
| | | goods.setRetailPrice(dto.getRetailPrice()); |
| | | goods.setSalesAmount(dto.getRetailPrice()); |
| | | erpGoodsService.updateById(goods); |
| | | } |
| | | return R.ok(); |
| | |
| | | t1.instructions_use like concat('%',#{query.queryCondition},'%') or |
| | | t1.ingredient like concat('%',#{query.queryCondition},'%') or |
| | | t1.trait like concat('%',#{query.queryCondition},'%') or |
| | | t1.indication like concat('%',#{query.queryCondition},'%') or |
| | | t1.indication like concat('%',#{query.queryCondition},'%') |
| | | ) |
| | | </if> |
| | | <if test="query.goodsIds != null and query.goodsIds.size()>0"> |