main
parent
f4a69cc371
commit
7d17720470
|
|
@ -166,7 +166,13 @@ public class AppUserController extends BaseController
|
|||
|
||||
public static void main(String[] args) {
|
||||
|
||||
String s = "12";
|
||||
System.out.println(s.length());
|
||||
int i = 29224;
|
||||
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 List<AppDynamicCommentVo> selectCommentList(AppDynamicComment appDynamicComment);
|
||||
|
||||
int deleteAppDynamicCommentByUserids();
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -238,6 +238,8 @@ public class AppUserServiceImpl implements IAppUserService {
|
|||
}
|
||||
}
|
||||
}
|
||||
appDynamicCommentMapper.deleteAppDynamicCommentByUserids();
|
||||
|
||||
return appUserMapper.deleteAppUserByIds(ids);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -116,4 +116,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
#{id}
|
||||
</foreach>
|
||||
</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>
|
||||
Loading…
Reference in New Issue