package com.jwipc.order.controller.pc;

import com.jwipc.order.logic.PcnManagerLogic;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.jwipc.order.constant.ModuleConst.MODULE_ROOT;

/**
 * 功能描述:
 *
 * @Author: zx
 * @Date: 2024/3/20 0020 19:48
 */
@RestController
@RequestMapping(MODULE_ROOT + "/pcn/subject/rest")
@RequiredArgsConstructor
@Slf4j
public class PcnChangeSubjectRestController {

    @Autowired
    PcnManagerLogic pcnManagerLogic;

    @RequestMapping("queryDetailDict")
    public ResponseEntity getSubject( Long applayListId) {
        return ResponseEntity.ok(pcnManagerLogic.getSubjectOne(applayListId));
    }


}
