导粉记录优化,采购计划SQL优化,后续建立索引

This commit is contained in:
xiezhijun
2021-05-24 16:41:11 +08:00
parent 167cb3fda0
commit ddd4b3763c
7 changed files with 137 additions and 27 deletions

View File

@ -162,4 +162,26 @@ public class SysImportFanRecordController extends BaseController
result.put("fanNumList", fanNumList);
return AjaxResult.success(result);
}
/**
* 删除导粉记录中对应微信记录
*/
@PreAuthorize("@ss.hasPermi('custom:importFanRecord:remove')")
@Log(title = "删除导粉记录中对应微信记录", businessType = BusinessType.DELETE)
@GetMapping("/removeFanWxAccount/{ids}")
public AjaxResult removeFanWxAccount(@PathVariable Long[] ids)
{
return toAjax(sysImportFanWxAccountService.deleteSysImportFanWxAccountByIds(ids));
}
/**
* 删除导粉记录中对应微信记录
*/
@PreAuthorize("@ss.hasPermi('custom:importFanRecord:edit')")
@GetMapping("/saveWxAccountFanNum")
public AjaxResult saveWxAccountFanNum(SysImportFanWxAccount sysImportFanWxAccount)
{
return toAjax(sysImportFanWxAccountService.updateSysImportFanWxAccount(sysImportFanWxAccount));
}
}