|
@@ -61,15 +61,6 @@ public class PriceListServiceImpl extends ServiceImpl<IPriceListMapper, PriceLis
|
|
|
wrapper.set(PriceList::getStatus,1);
|
|
|
this.update(wrapper);
|
|
|
}
|
|
|
- @Override
|
|
|
- public void updateStatusByRepairId(String repairId,Integer status) {
|
|
|
- LambdaUpdateWrapper<PriceList> wrapper = new LambdaUpdateWrapper<>();
|
|
|
- wrapper.eq(PriceList::getRepairId,repairId);
|
|
|
- wrapper.eq(PriceList::getStatus,1);
|
|
|
- wrapper.eq(PriceList::getType,0);
|
|
|
- wrapper.set(PriceList::getStatus,status);
|
|
|
- this.update(wrapper);
|
|
|
- }
|
|
|
|
|
|
@Override
|
|
|
public List<PriceList> getByRepairIdAndStatus(String repairId, Integer status) {
|