去掉套餐用户绑定功能逻辑

This commit is contained in:
wuweihua
2026-10-28 22:14:09 +08:00
parent 56340d0ea0
commit a5e9511857
13 changed files with 4 additions and 433 deletions
@@ -27,7 +27,6 @@ import com.bms.common.enums.BusinessType;
import com.bms.common.utils.MessageUtils;
import com.bms.common.utils.StringUtils;
import com.bms.price.domain.PrcCustomerPriceSet;
import com.bms.price.domain.PrcPriceSetUser;
import com.bms.price.domain.PrcPriceExcelFile;
import com.bms.price.domain.PrcPriceSet;
import com.bms.price.domain.PrcPriceSetDetail;
@@ -388,29 +387,4 @@ public class PriceSetController extends BaseController
return toAjax(priceSetService.deleteCustomerByIds(customerPricesetIds));
}
@PreAuthorize("@ss.hasPermi('price:set:list')")
@GetMapping("/viewer/list")
public TableDataInfo viewerList(PrcPriceSetUser query)
{
startPage();
List<PrcPriceSetUser> list = priceSetService.selectViewerList(query);
return getDataTable(list);
}
@PreAuthorize("@ss.hasPermi('price:set:edit')")
@Log(title = "Package viewer bind", businessType = BusinessType.INSERT)
@PostMapping("/viewer")
public AjaxResult addViewer(@RequestBody PrcPriceSetUser row)
{
row.setCreateBy(getUsername());
return toAjax(priceSetService.insertViewer(row));
}
@PreAuthorize("@ss.hasPermi('price:set:edit')")
@Log(title = "Package viewer bind", businessType = BusinessType.DELETE)
@DeleteMapping("/viewer/{psuIds}")
public AjaxResult removeViewer(@PathVariable Long[] psuIds)
{
return toAjax(priceSetService.deleteViewerByIds(psuIds));
}
}