企业列表出来了
parent
c13d1f1d24
commit
a0c77e722f
|
@ -4,7 +4,9 @@
|
||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="72651396-d9d2-4022-b080-e21d75d1bedb" name="更改" comment="企业列表出来了" />
|
<list default="true" id="72651396-d9d2-4022-b080-e21d75d1bedb" name="更改" comment="企业列表出来了">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
|
</list>
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
|
@ -185,21 +187,7 @@
|
||||||
<workItem from="1725706338514" duration="6144000" />
|
<workItem from="1725706338514" duration="6144000" />
|
||||||
<workItem from="1725757403389" duration="14577000" />
|
<workItem from="1725757403389" duration="14577000" />
|
||||||
<workItem from="1725794176067" duration="10803000" />
|
<workItem from="1725794176067" duration="10803000" />
|
||||||
<workItem from="1725842458564" duration="703000" />
|
<workItem from="1725842458564" duration="1083000" />
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00020" summary="初始化">
|
|
||||||
<created>1724915022951</created>
|
|
||||||
<option name="number" value="00020" />
|
|
||||||
<option name="presentableId" value="LOCAL-00020" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1724915022951</updated>
|
|
||||||
</task>
|
|
||||||
<task id="LOCAL-00021" summary="初始化">
|
|
||||||
<created>1724915528561</created>
|
|
||||||
<option name="number" value="00021" />
|
|
||||||
<option name="presentableId" value="LOCAL-00021" />
|
|
||||||
<option name="project" value="LOCAL" />
|
|
||||||
<updated>1724915528561</updated>
|
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00022" summary="初始化">
|
<task id="LOCAL-00022" summary="初始化">
|
||||||
<created>1724918082451</created>
|
<created>1724918082451</created>
|
||||||
|
@ -530,7 +518,21 @@
|
||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1725843001893</updated>
|
<updated>1725843001893</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="69" />
|
<task id="LOCAL-00069" summary="企业列表出来了">
|
||||||
|
<created>1725843202936</created>
|
||||||
|
<option name="number" value="00069" />
|
||||||
|
<option name="presentableId" value="LOCAL-00069" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1725843202936</updated>
|
||||||
|
</task>
|
||||||
|
<task id="LOCAL-00070" summary="企业列表出来了">
|
||||||
|
<created>1725843461227</created>
|
||||||
|
<option name="number" value="00070" />
|
||||||
|
<option name="presentableId" value="LOCAL-00070" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1725843461227</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="71" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
|
|
@ -132,8 +132,8 @@ public class SysApitypeController extends BaseController
|
||||||
@PostMapping("/standing/{res}")
|
@PostMapping("/standing/{res}")
|
||||||
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
public Result updateCreateByUserId(@PathVariable("res") Integer res) {
|
||||||
Long userId = SecurityUtils.getUserId();
|
Long userId = SecurityUtils.getUserId();
|
||||||
|
UserRole userRole = sysApitypeService.selectUserRoleByUserId(userId);
|
||||||
if(res!=1){
|
if(res!=1||userRole!=null){
|
||||||
return Result.error();
|
return Result.error();
|
||||||
}
|
}
|
||||||
return Result.success(sysApitypeService.updateCreateByUserId(userId));
|
return Result.success(sysApitypeService.updateCreateByUserId(userId));
|
||||||
|
|
Loading…
Reference in New Issue