本文整理汇总了Java中org.nutz.dao.Cnd.equals方法的典型用法代码示例。如果您正苦于以下问题:Java Cnd.equals方法的具体用法?Java Cnd.equals怎么用?Java Cnd.equals使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.nutz.dao.Cnd
的用法示例。
在下文中一共展示了Cnd.equals方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/os_list.html")
public void index(@Param("..")Page p,
@Param("..")Os os,
HttpServletRequest request){
Cnd c = new ParseObj(os).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(osService.listCount(c));
request.setAttribute("list_obj", osService.queryCache(c,p));
}else{
p.setRecordCount(osService.count(c));
request.setAttribute("list_obj", osService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("os", os);
}
示例2: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/studio_list.html")
public void index(@Param("..")Page p,
@Param("..")Studio studio,
HttpServletRequest request){
Cnd c = new ParseObj(studio).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(studioService.listCount(c));
request.setAttribute("list_obj", studioService.queryCache(c,p));
}else{
p.setRecordCount(studioService.count(c));
request.setAttribute("list_obj", studioService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("studio", studio);
}
示例3: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/code_list.html")
public void index(@Param("..")Page p,
@Param("..")Code code,
HttpServletRequest request){
Cnd c = new ParseObj(code).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(codeService.listCount(c));
request.setAttribute("list_obj", codeService.queryCache(c,p));
}else{
p.setRecordCount(codeService.count(c));
request.setAttribute("list_obj", codeService.query(c,p));
}
request.setAttribute("osList", CBData.getInstance().getOsList());
request.setAttribute("page", p);
request.setAttribute("code", code);
}
示例4: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/pinlv_list.html")
public void index(@Param("..")Page p,
@Param("..")Pinlv pinlv,
HttpServletRequest request){
Cnd c = new ParseObj(pinlv).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(pinlvService.listCount(c));
request.setAttribute("list_obj", pinlvService.queryCache(c,p));
}else{
p.setRecordCount(pinlvService.count(c));
request.setAttribute("list_obj", pinlvService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("pinlv", pinlv);
}
示例5: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/marital_list.html")
public void index(@Param("..")Page p,
@Param("..")Marital marital,
HttpServletRequest request){
Cnd c = new ParseObj(marital).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(maritalService.listCount(c));
request.setAttribute("list_obj", maritalService.queryCache(c,p));
}else{
p.setRecordCount(maritalService.count(c));
request.setAttribute("list_obj", maritalService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("marital", marital);
}
示例6: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/productlevel_list.html")
public void index(@Param("..")Page p,
@Param("..")Productlevel productlevel,
HttpServletRequest request){
Cnd c = new ParseObj(productlevel).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(productlevelService.listCount(c));
request.setAttribute("list_obj", productlevelService.queryCache(c,p));
}else{
p.setRecordCount(productlevelService.count(c));
request.setAttribute("list_obj", productlevelService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("productlevel", productlevel);
}
示例7: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/aporialevel_list.html")
public void index(@Param("..") Page p,
@Param("..") Aporialevel aporialevel,
HttpServletRequest request) {
Cnd c = new ParseObj(aporialevel).getCnd();
if (c == null || c.equals("")) {
p.setRecordCount(aporialevelService.listCount(c));
request.setAttribute("list_obj", aporialevelService.queryCache(c, p));
} else {
p.setRecordCount(aporialevelService.count(c));
request.setAttribute("list_obj", aporialevelService.query(c, p));
}
request.setAttribute("page", p);
request.setAttribute("aporialevel", aporialevel);
}
示例8: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/language_list.html")
public void index(@Param("..")Page p,
@Param("..")Language language,
HttpServletRequest request){
Cnd c = new ParseObj(language).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(languageService.listCount(c));
request.setAttribute("list_obj", languageService.queryCache(c,p));
}else{
p.setRecordCount(languageService.count(c));
request.setAttribute("list_obj", languageService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("language", language);
}
示例9: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/education_list.html")
public void index(@Param("..")Page p,
@Param("..")Education education,
HttpServletRequest request){
Cnd c = new ParseObj(education).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(educationService.listCount(c));
request.setAttribute("list_obj", educationService.queryCache(c,p));
}else{
p.setRecordCount(educationService.count(c));
request.setAttribute("list_obj", educationService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("education", education);
}
示例10: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/product/jindu_list.html")
public void index(@Param("..")Page p,
@Param("..")Jindu jindu,
@Param("productid")long productid,
HttpServletRequest request){
Cnd c = new ParseObj(jindu).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(jinduService.listCount(c));
request.setAttribute("list_obj", jinduService.queryCache(c,p));
}else{
p.setRecordCount(jinduService.count(c));
request.setAttribute("list_obj", jinduService.query(c,p));
}
request.setAttribute("osList", osService.queryCache(null, new Page()));
request.setAttribute("page", p);
request.setAttribute("jindu", jindu);
request.setAttribute("productid",productid);
}
示例11: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/eventtype_list.html")
public void index(@Param("..")Page p,
@Param("..")Eventtype eventtype,
HttpServletRequest request){
Cnd c = new ParseObj(eventtype).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(eventtypeService.listCount(c));
request.setAttribute("list_obj", eventtypeService.queryCache(c,p));
}else{
p.setRecordCount(eventtypeService.count(c));
request.setAttribute("list_obj", eventtypeService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("eventtype", eventtype);
}
示例12: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/product/func_list.html")
public void index(@Param("..")Page p,
@Param("..")Func func,
@Param("productid")long productid,
HttpServletRequest request){
Cnd c = new ParseObj(func).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(funcService.listCount(c));
request.setAttribute("list_obj", funcService.queryCache(c,p));
}else{
p.setRecordCount(funcService.count(c));
request.setAttribute("list_obj", funcService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("func", func);
request.setAttribute("productid",productid);
}
示例13: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/customer/aftersales_list.html")
public void index(@Param("..")Page p,
@Param("..")Aftersales aftersales,
@Param("customerid")long customerid,
HttpServletRequest request){
Cnd c = new ParseObj(aftersales).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(aftersalesService.listCount(c));
request.setAttribute("list_obj", aftersalesService.queryCache(c,p));
}else{
p.setRecordCount(aftersalesService.count(c));
request.setAttribute("list_obj", aftersalesService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("aftersales", aftersales);
request.setAttribute("aftersalestypeList",aftersalestypeService.queryCache(null, new Page()));
request.setAttribute("customerid",customerid);
}
示例14: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/base/employee_list.html")
public void index(@Param("..")Page p,
@Param("..")Employee employee,
HttpServletRequest request){
Cnd c = new ParseObj(employee).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(employeeService.listCount(c));
request.setAttribute("list_obj", employeeService.queryCache(c,p));
}else{
p.setRecordCount(employeeService.count(c));
request.setAttribute("list_obj", employeeService.query(c,p));
}
request.setAttribute("page", p);
request.setAttribute("employee", employee);
request.setAttribute("departmentList", departmentService.queryCache(null,new Page()));
}
示例15: index
import org.nutz.dao.Cnd; //导入方法依赖的package包/类
@At("/")
@Ok("beetl:/WEB-INF/product/img_list.html")
public void index(@Param("..")Page p,
@Param("..")Img img,
HttpServletRequest request){
Cnd c = new ParseObj(img).getCnd();
if (c == null || c.equals(""))
{
p.setRecordCount(imgService.listCount(c));
request.setAttribute("list_obj", imgService.queryCache(c,p));
}else{
p.setRecordCount(imgService.count(c));
request.setAttribute("list_obj", imgService.query(c,p));
}
request.setAttribute("productList", productService.queryCache(null, new Page()));
request.setAttribute("page", p);
request.setAttribute("img", img);
}