企业列表出来了

master
法外狂徒张三 2024-09-06 20:42:23 +08:00
parent c87467a824
commit dc9b5c01a7
2 changed files with 10 additions and 8 deletions

View File

@ -6,11 +6,6 @@
<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" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/controller/MyApiController.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/controller/MyApiController.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/mapper/MyApiMapper.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/mapper/MyApiMapper.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/service/IMyApiService.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/service/IMyApiService.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/service/impl/MyApiServiceImpl.java" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-market-server/src/main/java/com/muyu/market/service/impl/MyApiServiceImpl.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/cloud-market-server/src/main/resources/mapper/market/MyApiMapper.xml" beforeDir="false" afterPath="$PROJECT_DIR$/cloud-market-server/src/main/resources/mapper/market/MyApiMapper.xml" afterDir="false" />
</list> </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" />
@ -185,7 +180,7 @@
<workItem from="1725553138436" duration="1569000" /> <workItem from="1725553138436" duration="1569000" />
<workItem from="1725584707555" duration="7589000" /> <workItem from="1725584707555" duration="7589000" />
<workItem from="1725605672086" duration="3347000" /> <workItem from="1725605672086" duration="3347000" />
<workItem from="1725621072988" duration="3535000" /> <workItem from="1725621072988" duration="4491000" />
</task> </task>
<task id="LOCAL-00001" summary="初始化"> <task id="LOCAL-00001" summary="初始化">
<created>1724047244829</created> <created>1724047244829</created>
@ -502,7 +497,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1725621190899</updated> <updated>1725621190899</updated>
</task> </task>
<option name="localTasksCounter" value="46" /> <task id="LOCAL-00046" summary="企业列表出来了">
<created>1725625264736</created>
<option name="number" value="00046" />
<option name="presentableId" value="LOCAL-00046" />
<option name="project" value="LOCAL" />
<updated>1725625264736</updated>
</task>
<option name="localTasksCounter" value="47" />
<servers /> <servers />
</component> </component>
<component name="TypeScriptGeneratedFilesManager"> <component name="TypeScriptGeneratedFilesManager">

View File

@ -63,7 +63,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where my_id = #{myId} where my_id = #{myId}
</update> </update>
<update id="updByUserIdAndApiId"> <update id="updByUserIdAndApiId">
UPDATE my_api SET `my_num` = my_num-1 <if test="myNum==1" >,`my_states` = 'N'</if> WHERE `user_id` = #{userId} and `api_id` = #{apiId}; UPDATE my_api SET `my_num` = my_num-1 <if test="myNum==1" >,`my_states` = 'N'</if> WHERE `user_id` = #{userId} and `api_id` = #{apiId} and my_num>0;
</update> </update>
<delete id="deleteMyApiByMyId" parameterType="Long"> <delete id="deleteMyApiByMyId" parameterType="Long">