fix:表单新增根据创建人查询
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user