Commit 3680067c authored by hongguangwu's avatar hongguangwu

MVP1.7.16-法大大

parent 809dd843
......@@ -71,6 +71,22 @@ public class TEmployeeContractPreController {
return R.ok(tEmployeeContractPreService.getById(id));
}
/**
* @param contractId 合同ID
* @Description: 通过合同ID查询(原合同查电子签详情专用)
* @Author: hgw
* @Date: 2025/10/20 10:19
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractPre>
**/
@Operation(summary = "通过合同ID查询", description = "通过合同ID查询")
@GetMapping("/getByContractId" )
public R<TEmployeeContractPre> getByContractId(@RequestParam("contractId" ) String contractId) {
// 2025-10-20 10:29:41 倩倩说不过滤状态,只要是自动化生成的合同,都要看电子签详情
TEmployeeContractPre pre = tEmployeeContractPreService.getOne(Wrappers.<TEmployeeContractPre>lambdaQuery()
.eq(TEmployeeContractPre::getContractId, contractId).last(CommonConstants.LAST_ONE_SQL));
return R.ok(pre);
}
/**
* 不分页查询
* @param tEmployeeContractPre 商险待办任务表
......
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