Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好我想使用标准编写查询:必须使用标准创建以下查询:
“从 S2 中选择 Distinct(s2Taxper),其中 s2Tc='601' AND s2Txcd!=''”
提前致谢
Criteria criteria = session.createCriteria(S2.class) .add(Restrictions.eq("s2Tc","601")) .add(Restrictions.ne("s2Txcd","")) .setProjection(Projections.distinct(Projections.property("s2Taxper")));