|
|
@@ -122,7 +122,6 @@ public class KwpWantBuyService {
|
|
|
}
|
|
|
PageHelper.startPage(wantBuySelectParam.getPage(), wantBuySelectParam.getPageSize());
|
|
|
List<WantBuySelectRes> wantBuyDto = kwpWantBuyMapper.pageSelect(wantBuySelectParam);
|
|
|
- System.out.println(wantBuyDto);
|
|
|
if (CollectionUtils.isEmpty(wantBuyDto)) {
|
|
|
return new PageRes<>();
|
|
|
}
|
|
|
@@ -316,7 +315,7 @@ public class KwpWantBuyService {
|
|
|
**/
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void dels(WantBuyDels param) {
|
|
|
- List<String> ids = List.of(param.getIds().split(","));
|
|
|
+ List<String> ids = List.of(param.getIds().split(Global.COMMA));
|
|
|
LambdaUpdateWrapper<KwoWantBuy> updateWrapper = new LambdaUpdateWrapper<>();
|
|
|
updateWrapper.in(KwoWantBuy::getId, ids).eq(KwoWantBuy::getDelFlag, Global.NO)
|
|
|
.set(KwoWantBuy::getDelFlag, Global.YES)
|