添加注释
parent
bc4593722e
commit
7342e9822a
|
@ -65,7 +65,14 @@ public class FirmController extends BaseController {
|
|||
return result;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 修改信息
|
||||
*
|
||||
* @author: ZhuoXin
|
||||
* @date: 2023/11/20 13:19
|
||||
* @param: [firm]
|
||||
* @return: com.fate.common.core.domain.Result
|
||||
**/
|
||||
@PostMapping("/updateStatus")
|
||||
public Result updateStatus(@RequestBody Firm firm) {
|
||||
log.info("功能:修改状态,URI:{},方法:{},参数:{}", request.getRequestURI(), request.getMethod(), JSON.toJSONString(firm));
|
||||
|
|
|
@ -17,13 +17,36 @@ import java.util.List;
|
|||
|
||||
public interface FirmService extends IService<Firm> {
|
||||
|
||||
/**
|
||||
* 添加企业入驻
|
||||
*
|
||||
* @author: ZhuoXin
|
||||
* @date: 2023/11/20 10:45
|
||||
* @param: [firm]
|
||||
* @return: com.fate.common.core.domain.Result
|
||||
**/
|
||||
Result addFirm(Firm firm);
|
||||
|
||||
/**
|
||||
* 修改信息
|
||||
*
|
||||
* @author: ZhuoXin
|
||||
* @date: 2023/11/20 13:19
|
||||
* @param: [firm]
|
||||
* @return: com.fate.common.core.domain.Result
|
||||
**/
|
||||
Result updateFirm(Firm firm);
|
||||
|
||||
List<Firm> listSel(Firm firm);
|
||||
|
||||
|
||||
/**
|
||||
* 修改信息
|
||||
*
|
||||
* @author: ZhuoXin
|
||||
* @date: 2023/11/20 13:19
|
||||
* @param: [firm]
|
||||
* @return: com.fate.common.core.domain.Result
|
||||
**/
|
||||
Result updateStatus(Firm firm);
|
||||
|
||||
}
|
||||
|
|
|
@ -27,6 +27,14 @@ public class FirmServiceImpl extends ServiceImpl<FirmMapper, Firm> implements Fi
|
|||
@Autowired
|
||||
private FirmMapper firmMapper;
|
||||
|
||||
/**
|
||||
* 添加企业入驻
|
||||
*
|
||||
* @author: ZhuoXin
|
||||
* @date: 2023/11/20 10:45
|
||||
* @param: [firm]
|
||||
* @return: com.fate.common.core.domain.Result
|
||||
**/
|
||||
@Override
|
||||
public Result addFirm(Firm firm) {
|
||||
firm.setFirmId(null);
|
||||
|
|
Loading…
Reference in New Issue