LIVE_YE 2 mēneši atpakaļ
vecāks
revīzija
3daf0e5eca

+ 1 - 0
ruoyi-system/src/main/java/com/ruoyi/system/service/impl/UpdateAppServiceImpl.java

@@ -60,6 +60,7 @@ public class UpdateAppServiceImpl implements IUpdateAppService
         UpdateApp update = new UpdateApp();
         update.setIsDel("0");
         update.setModel(updateApp.getModel());
+        update.setAppPort(updateApp.getAppPort());
         updateAppMapper.updateUpdateAppAll(update);
         //保存当前数据
         updateApp.setCreateTime(DateUtils.getNowDate());

+ 1 - 1
ruoyi-system/src/main/resources/mapper/system/UpdateAppMapper.xml

@@ -104,6 +104,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
     </select>
     <update id="updateUpdateAppAll" parameterType="UpdateApp">
         update update_app set is_del = #{isDel}
-        where model = #{model}
+        where model = #{model} and app_port = #{appPort}
     </update>
 </mapper>