Merge branch 'main' of https://git.mowei.com.cn/wyh/gan into main
commit
dbf0dae31e
|
|
@ -166,7 +166,13 @@ public class AppUserController extends BaseController
|
||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
|
|
||||||
String s = "12";
|
int i = 29224;
|
||||||
System.out.println(s.length());
|
int j = 29198;
|
||||||
|
double v = i / 1000.0;
|
||||||
|
double v1 = j / 1000.0;
|
||||||
|
System.out.println( v );
|
||||||
|
System.out.println(v1);
|
||||||
|
System.out.println( v - v1);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -63,4 +63,7 @@ public interface AppDynamicCommentMapper
|
||||||
public int deleteAppDynamicCommentByParentId(Long parentId);
|
public int deleteAppDynamicCommentByParentId(Long parentId);
|
||||||
|
|
||||||
public List<AppDynamicCommentVo> selectCommentList(AppDynamicComment appDynamicComment);
|
public List<AppDynamicCommentVo> selectCommentList(AppDynamicComment appDynamicComment);
|
||||||
|
|
||||||
|
int deleteAppDynamicCommentByUserids();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -238,6 +238,8 @@ public class AppUserServiceImpl implements IAppUserService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
appDynamicCommentMapper.deleteAppDynamicCommentByUserids();
|
||||||
|
|
||||||
return appUserMapper.deleteAppUserByIds(ids);
|
return appUserMapper.deleteAppUserByIds(ids);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -116,4 +116,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
#{id}
|
#{id}
|
||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteAppDynamicCommentByUserids">
|
||||||
|
delete from app_dynamic_comment where user_id in
|
||||||
|
<foreach item="id" collection="array" open="(" separator="," close=")">
|
||||||
|
#{id}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue