1、HQL语句 :select t from RepNewsUsers t where t.runUserId=:userId <=对应传值=>map<k,v>
select t from RepNewsUsers t where t.runUserId=? <=对应传值=> value (但要标注?顺序) 2、判断某字符串 是否为 空,或者为 "" ====>可以使用 StringUtils.hasText(string) 来判断;
org.springframework.util
Class StringUtils