摘要:
案例: select * from f_xxx fb order by (case when fb.status = 0 then 1 when fb.status = 3 then 2 when fb.status = 1 then 3 when fb.status = 2 then 4 else 阅读全文
摘要:
#####查询重复数据 SELECT t.* FROM like_user t, ( SELECT user_id, COUNT(user_id), dynamc_id, COUNT(dynamc_id) FROM like_user GROUP BY user_id, dynamc_id HAVI 阅读全文
摘要:
public static <K, V> List<Map<K, V>> castListMap(Object obj, Class<K> kCalzz, Class<V> vCalzz) { List<Map<K, V>> result = new ArrayList<>(); if (obj i 阅读全文
摘要:
import lombok.extern.slf4j.Slf4j; import java.lang.reflect.Field; import java.lang.reflect.Method; @Slf4j public class Hsetman { public static void ma 阅读全文