fix:表单新增根据创建人查询

This commit is contained in:
2026-01-27 15:41:33 +08:00
parent 6802bba8cd
commit db3e389bf5
3 changed files with 4 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ public class SimulationSystemConfigController implements ISysConfigFeignClient {
@ResponseBody
SdmResponse getFormConfigure(@RequestParam("formName") String formName, @RequestParam(required = false) String userId)
{
return service.queryFormConfigure(formName, Long.valueOf(userId));
return service.queryFormConfigure(formName, userId);
}
@PostMapping(value = "/addFormConfigure")

View File

@@ -43,7 +43,7 @@ public interface ISimulationSystemConfigService {
SdmResponse deleteFormConfigure(FormConfigure configure);
SdmResponse queryFormConfigure(String formName, Long userId);
SdmResponse queryFormConfigure(String formName, String userId);
SdmResponse listFormConfigure(FormConfigureReq req);

View File

@@ -386,7 +386,7 @@ public class SimulationSystemConfigServiceImpl extends BaseService implements IS
* @param formName
* @return
*/
public SdmResponse queryFormConfigure(String formName, Long creator)
public SdmResponse queryFormConfigure(String formName, String creator)
{
SdmResponse response = SdmResponse.success();
long tenantId = ThreadLocalContext.getTenantId();
@@ -395,7 +395,7 @@ public class SimulationSystemConfigServiceImpl extends BaseService implements IS
queryWrapper.eq(SysFormConfigure::getFormName, formName);
queryWrapper.eq(SysFormConfigure::getTenantId, tenantId);
if (ObjectUtils.isNotEmpty(creator)) {
queryWrapper.eq(SysFormConfigure::getCreator, creator);
queryWrapper.eq(SysFormConfigure::getCreator, Long.valueOf(creator));
}
SysFormConfigure formConfigure = formConfigureService.getOne(queryWrapper);