package com.ruoyi.web.controller.common;

import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.system.domain.Dksq;
import com.ruoyi.system.service.impl.DkCommonServerceImpl;
import com.ruoyi.system.service.impl.DksqLcjlServiceImpl;
import com.ruoyi.system.service.impl.DksqServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: tjf
 * @Date: 2023/6/15 15:27
 * @Describe:
 */
@RequestMapping("/dkCommon")
public class DkCommonController extends BaseController {
    @Autowired
    private DkCommonServerceImpl dkCommonServerce;

    /**
     * 劳动局审核
     */
    @PreAuthorize("@ss.hasPermi('system:dksq:edit')")
    @Log(title = "贷款申请_主", businessType = BusinessType.UPDATE)
    @PostMapping("/shenHe")
    public AjaxResult shenHe(@RequestBody Dksq dksq)
    {
        return dkCommonServerce.shenHe(dksq);
    }


}
