Commit 783cf533 authored by huyuchen's avatar huyuchen

Merge remote-tracking branch 'origin/master'

parents dfc903fd 0f3ad516
...@@ -342,7 +342,9 @@ public class TEmployeeContractInfoController { ...@@ -342,7 +342,9 @@ public class TEmployeeContractInfoController {
@SysLog("批量导出合同审核") @SysLog("批量导出合同审核")
@PostMapping("/exportAuditContractInfo") @PostMapping("/exportAuditContractInfo")
@PreAuthorize("@pms.hasPermission('employee_export_contract_audit')") @PreAuthorize("@pms.hasPermission('employee_export_contract_audit')")
public void exportAuditContractInfo(@RequestBody(required = false) TEmployeeContractSearchVo contractInfo, HttpServletResponse response) { public void exportAuditContractInfo(@RequestBody(required = false) TEmployeeContractSearchVo contractInfo,
@RequestParam(required = false,name = "mId") String mId,
HttpServletResponse response) {
if (Common.isEmpty(contractInfo)){ if (Common.isEmpty(contractInfo)){
contractInfo = new TEmployeeContractSearchVo(); contractInfo = new TEmployeeContractSearchVo();
} }
......
...@@ -94,6 +94,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T ...@@ -94,6 +94,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
try{ try{
for(String userId : userIdList){ for(String userId : userIdList){
redisUtil.remove(CacheConstants.WXHR_SETTLE_DOMAIN_VOS_BY_USERID +"_"+userId); redisUtil.remove(CacheConstants.WXHR_SETTLE_DOMAIN_VOS_BY_USERID +"_"+userId);
redisUtil.remove(CacheConstants.WXHR_SETTLE_DOMAIN_NOS_BY_USERID +"_"+userId);
} }
} catch (Exception e) { } catch (Exception e) {
log.error("清除缓存错误:",e); log.error("清除缓存错误:",e);
......
...@@ -344,7 +344,11 @@ public class TDispatchInfoController { ...@@ -344,7 +344,11 @@ public class TDispatchInfoController {
@Operation(description = "导出派单审核记录 hasPermission('tdispatchinfo-export')") @Operation(description = "导出派单审核记录 hasPermission('tdispatchinfo-export')")
@PostMapping("/auditExport") @PostMapping("/auditExport")
@PreAuthorize("@pms.hasPermission('tdispatchinfo-export')") @PreAuthorize("@pms.hasPermission('tdispatchinfo-export')")
public void auditExport(HttpServletResponse response, @RequestBody TDispatchInfoSearchVo searchVo) { public void auditExport(HttpServletResponse response, @RequestBody TDispatchInfoSearchVo searchVo,
@RequestParam(required = false,name = "mId") String mId) {
searchVo.setDeleteFlag(CommonConstants.ZERO_STRING);
searchVo.setStatus(CommonConstants.ONE_STRING);
searchVo.setMId(mId);
YifuUser user = SecurityUtils.getUser(); YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, searchVo); menuUtil.setAuthSql(user, searchVo);
if (Common.isNotNull(searchVo.getAuthSql())) { if (Common.isNotNull(searchVo.getAuthSql())) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment