企业列表出来了
parent
0cb5e490dc
commit
936c8192e7
|
@ -4,9 +4,7 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<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>
|
||||
<list default="true" id="72651396-d9d2-4022-b080-e21d75d1bedb" name="更改" comment="企业列表出来了" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
|
@ -60,25 +58,25 @@
|
|||
<component name="ProjectViewState">
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">{
|
||||
"keyToString": {
|
||||
"ApiPost:METDOD_SEND_RECORD:cloud-market-server": "{\"/apitype/standing\":[{\"url\":\"http://localhost:10008/apitype/standing\",\"header\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"query\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"rest\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"requestBody\":\"{\\n \\\"idcard\\\": \\\"330921200301116511\\\",\\n \\\"realname\\\": \\\"王意航\\\"\\n}\",\"responseBody\":\"发送失败: http://localhost:10008/apitype/standing\\n\\nConnectException: Connection refused: connect\",\"selectedItem\":\"POST\",\"time\":{\"date\":{\"year\":2024,\"month\":9,\"day\":8},\"time\":{\"hour\":21,\"minute\":8,\"second\":37,\"nano\":929385300}}}]}",
|
||||
"RequestMappingsPanelOrder0": "0",
|
||||
"RequestMappingsPanelOrder1": "1",
|
||||
"RequestMappingsPanelWidth0": "75",
|
||||
"RequestMappingsPanelWidth1": "75",
|
||||
"WebServerToolWindowFactoryState": "false",
|
||||
"last_opened_file_path": "E:/桌面/cloud-market/cloud-market-server/src/main/java/com/muyu/market/controller",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "reference.settings.project.maven.repository.indices",
|
||||
"spring.configuration.checksum": "647853898192e405c7aff8ecac5564ea",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
<component name="PropertiesComponent"><![CDATA[{
|
||||
"keyToString": {
|
||||
"ApiPost:METDOD_SEND_RECORD:cloud-market-server": "{\"/apitype/standing\":[{\"url\":\"http://localhost:10008/apitype/standing\",\"header\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"query\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"rest\":[{\"value\":\"\",\"type\":\"Text\",\"is_checked\":1,\"not_null\":\"1\",\"field_type\":\"string\"}],\"requestBody\":\"{\\n \\\"idcard\\\": \\\"330921200301116511\\\",\\n \\\"realname\\\": \\\"王意航\\\"\\n}\",\"responseBody\":\"发送失败: http://localhost:10008/apitype/standing\\n\\nConnectException: Connection refused: connect\",\"selectedItem\":\"POST\",\"time\":{\"date\":{\"year\":2024,\"month\":9,\"day\":8},\"time\":{\"hour\":21,\"minute\":8,\"second\":37,\"nano\":929385300}}}]}",
|
||||
"RequestMappingsPanelOrder0": "0",
|
||||
"RequestMappingsPanelOrder1": "1",
|
||||
"RequestMappingsPanelWidth0": "75",
|
||||
"RequestMappingsPanelWidth1": "75",
|
||||
"WebServerToolWindowFactoryState": "false",
|
||||
"last_opened_file_path": "E:/桌面/cloud-market/cloud-market-server/src/main/java/com/muyu/market/controller",
|
||||
"node.js.detected.package.eslint": "true",
|
||||
"node.js.detected.package.tslint": "true",
|
||||
"node.js.selected.package.eslint": "(autodetect)",
|
||||
"node.js.selected.package.tslint": "(autodetect)",
|
||||
"nodejs_package_manager_path": "npm",
|
||||
"settings.editor.selected.configurable": "MavenSettings",
|
||||
"spring.configuration.checksum": "647853898192e405c7aff8ecac5564ea",
|
||||
"vue.rearranger.settings.migration": "true"
|
||||
}
|
||||
}</component>
|
||||
}]]></component>
|
||||
<component name="ReactorSettings">
|
||||
<option name="notificationShown" value="true" />
|
||||
</component>
|
||||
|
@ -188,90 +186,7 @@
|
|||
<workItem from="1725757403389" duration="14577000" />
|
||||
<workItem from="1725794176067" duration="10803000" />
|
||||
<workItem from="1725842458564" duration="1083000" />
|
||||
</task>
|
||||
<task id="LOCAL-00022" summary="初始化">
|
||||
<created>1724918082451</created>
|
||||
<option name="number" value="00022" />
|
||||
<option name="presentableId" value="LOCAL-00022" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1724918082451</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00023" summary="初始化">
|
||||
<created>1724918094895</created>
|
||||
<option name="number" value="00023" />
|
||||
<option name="presentableId" value="LOCAL-00023" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1724918094895</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00024" summary="初始化">
|
||||
<created>1724920119938</created>
|
||||
<option name="number" value="00024" />
|
||||
<option name="presentableId" value="LOCAL-00024" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1724920119938</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00025" summary="企业列表出来了">
|
||||
<created>1725161627925</created>
|
||||
<option name="number" value="00025" />
|
||||
<option name="presentableId" value="LOCAL-00025" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725161627925</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00026" summary="企业列表出来了">
|
||||
<created>1725247697205</created>
|
||||
<option name="number" value="00026" />
|
||||
<option name="presentableId" value="LOCAL-00026" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725247697205</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00027" summary="企业列表出来了">
|
||||
<created>1725412228813</created>
|
||||
<option name="number" value="00027" />
|
||||
<option name="presentableId" value="LOCAL-00027" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725412228813</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00028" summary="企业列表出来了">
|
||||
<created>1725434075951</created>
|
||||
<option name="number" value="00028" />
|
||||
<option name="presentableId" value="LOCAL-00028" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725434075951</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00029" summary="企业列表出来了">
|
||||
<created>1725441635174</created>
|
||||
<option name="number" value="00029" />
|
||||
<option name="presentableId" value="LOCAL-00029" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725441635174</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00030" summary="企业列表出来了">
|
||||
<created>1725535665636</created>
|
||||
<option name="number" value="00030" />
|
||||
<option name="presentableId" value="LOCAL-00030" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725535665636</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00031" summary="企业列表出来了">
|
||||
<created>1725535740781</created>
|
||||
<option name="number" value="00031" />
|
||||
<option name="presentableId" value="LOCAL-00031" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725535740781</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00032" summary="企业列表出来了">
|
||||
<created>1725535995757</created>
|
||||
<option name="number" value="00032" />
|
||||
<option name="presentableId" value="LOCAL-00032" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725535995757</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00033" summary="企业列表出来了">
|
||||
<created>1725536412572</created>
|
||||
<option name="number" value="00033" />
|
||||
<option name="presentableId" value="LOCAL-00033" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725536412572</updated>
|
||||
<workItem from="1725843691730" duration="13942000" />
|
||||
</task>
|
||||
<task id="LOCAL-00034" summary="企业列表出来了">
|
||||
<created>1725537357138</created>
|
||||
|
@ -532,7 +447,91 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1725843461227</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="71" />
|
||||
<task id="LOCAL-00071" summary="企业列表出来了">
|
||||
<created>1725843808662</created>
|
||||
<option name="number" value="00071" />
|
||||
<option name="presentableId" value="LOCAL-00071" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725843808662</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00072" summary="企业列表出来了">
|
||||
<created>1725844255814</created>
|
||||
<option name="number" value="00072" />
|
||||
<option name="presentableId" value="LOCAL-00072" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725844255814</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00073" summary="企业列表出来了">
|
||||
<created>1725844685646</created>
|
||||
<option name="number" value="00073" />
|
||||
<option name="presentableId" value="LOCAL-00073" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725844685646</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00074" summary="企业列表出来了">
|
||||
<created>1725863698925</created>
|
||||
<option name="number" value="00074" />
|
||||
<option name="presentableId" value="LOCAL-00074" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725863698925</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00075" summary="企业列表出来了">
|
||||
<created>1725864590358</created>
|
||||
<option name="number" value="00075" />
|
||||
<option name="presentableId" value="LOCAL-00075" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725864590358</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00076" summary="企业列表出来了">
|
||||
<created>1725865421475</created>
|
||||
<option name="number" value="00076" />
|
||||
<option name="presentableId" value="LOCAL-00076" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725865421475</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00077" summary="企业列表出来了">
|
||||
<created>1725866928373</created>
|
||||
<option name="number" value="00077" />
|
||||
<option name="presentableId" value="LOCAL-00077" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725866928373</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00078" summary="企业列表出来了">
|
||||
<created>1725867686157</created>
|
||||
<option name="number" value="00078" />
|
||||
<option name="presentableId" value="LOCAL-00078" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725867686157</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00079" summary="企业列表出来了">
|
||||
<created>1725871495132</created>
|
||||
<option name="number" value="00079" />
|
||||
<option name="presentableId" value="LOCAL-00079" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725871495132</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00080" summary="企业列表出来了">
|
||||
<created>1725872239199</created>
|
||||
<option name="number" value="00080" />
|
||||
<option name="presentableId" value="LOCAL-00080" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725872239199</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00081" summary="企业列表出来了">
|
||||
<created>1725874552030</created>
|
||||
<option name="number" value="00081" />
|
||||
<option name="presentableId" value="LOCAL-00081" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725874552030</updated>
|
||||
</task>
|
||||
<task id="LOCAL-00082" summary="企业列表出来了">
|
||||
<created>1725875021671</created>
|
||||
<option name="number" value="00082" />
|
||||
<option name="presentableId" value="LOCAL-00082" />
|
||||
<option name="project" value="LOCAL" />
|
||||
<updated>1725875021671</updated>
|
||||
</task>
|
||||
<option name="localTasksCounter" value="83" />
|
||||
<servers />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
|
|
@ -65,10 +65,31 @@ public class SysFirminfoController extends BaseController
|
|||
return success(sysFirminfoService.selectSysFirminfoByAdminsid(adminsid));
|
||||
}
|
||||
|
||||
@RequiresPermissions("market:firminfo:edit")
|
||||
@PostMapping("/edit")
|
||||
public Result edit(@RequestBody SysFirm sysFirm)
|
||||
@RequiresPermissions("ruleEngine:firminfo:add")
|
||||
@PostMapping
|
||||
public Result<Integer> add(
|
||||
@Validated @RequestBody SysFirm sysFirminfo)
|
||||
{
|
||||
return toAjax(sysFirminfoService.updateFirmFromByFirmId(sysFirm));
|
||||
Long adminsid = SecurityUtils.getUserId();
|
||||
if (sysFirminfoService.checkIdUnique(sysFirminfo)) {
|
||||
return error("新增 firmList '" + sysFirminfo + "'失败,firmList已存在");
|
||||
}
|
||||
sysFirminfo.setAdminsid(adminsid);
|
||||
return toAjax(sysFirminfoService.save(sysFirminfo));
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改firmList
|
||||
*/
|
||||
@RequiresPermissions("ruleEngine:firminfo:edit")
|
||||
@PutMapping
|
||||
public Result<Integer> edit(
|
||||
@Validated @RequestBody SysFirm sysFirminfo)
|
||||
{
|
||||
if (!sysFirminfoService.checkIdUnique(sysFirminfo)) {
|
||||
return error("修改 firmList '" + sysFirminfo + "'失败,firmList不存在");
|
||||
}
|
||||
return toAjax(sysFirminfoService.updateById(sysFirminfo));
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue