当前位置: 首页 > news >正文

成都网站建设学校并且图片越大越好

成都网站建设学校,并且图片越大越好,全国企业工商信息查询官网,久久建筑有限公司场景#xff1a;页面展示列表#xff0c;需要查询多的字段#xff0c;和一的字段。并且还要分页。 这时候直接想到的是手写sql。 /*** 标签*/private ListBasicResidentTags tags;Data TableName(basic_resident_tags) public class BasicResidentTag…场景页面展示列表需要查询多的字段和一的字段。并且还要分页。 这时候直接想到的是手写sql。 /*** 标签*/private ListBasicResidentTags tags;Data TableName(basic_resident_tags) public class BasicResidentTags{private static final long serialVersionUID1L;/*** 标签id*/TableId(value id,type IdType.AUTO)private Integer id;/*** 名称*/private String name;/*** 颜色*/private String color;/*** 居民id*/private Integer residentId;}原来的sql 。 !--一对多映射--resultMap idmany typecom.vkl.basic.domain.vo.admin.BasicResidentListVoid propertyresidentId columnresident_id/result propertyname columnname/result propertysex columnsex/result propertyhouseHolder columnhouse_holder/result propertyresidentName columnresident_name/result propertyoutsider columnoutsider/result propertyroom columnroom/collection propertytags ofTypecom.vkl.basic.domain.BasicResidentTagsid columntagsId propertyid/idresult columntagsName propertyname/resultresult columncolor propertycolor/resultresult columntid propertyresidentId/result/collection/resultMap select idselectPageList resultTypecom.vkl.basic.domain.vo.admin.BasicResidentListVo resultMapmanyparameterTypecom.vkl.basic.domain.bo.admin.BasicResidentAdminBoselect b.resident_id,b.name,b.sex,b.house_holder,b.resident_name,b.outsider,b.room,t.id as tagsId,t.name as tagsName,t.color,t.resident_id as tidfrom basic_resident b LEFT JOIN basic_resident_tags ton b.resident_id t.resident_idwhere del_flg 0if testparam.name ! null and param.name ! and b.name like concat(%,#{param.name},%)orb.resident_name like concat(%,#{param.name},%)/ifif testparam.tags ! null and param.tags ! and t.name #{param.tags}/iforder by b.resident_idlimit #{query.pageNum},#{query.pageSize}/select正常查询tags有两条。加上分页条件多的一端只有一条数据。 修改之后的sq。满足分页正常展示多的一端。 !--一对多映射--resultMap idmany typecom.vkl.basic.domain.vo.admin.BasicResidentListVoid propertyresidentId columnresident_id/result propertyname columnname/result propertysex columnsex/result propertyhouseHolder columnhouse_holder/result propertyresidentName columnresident_name/result propertyoutsider columnoutsider/result propertyroom columnroom/collection propertytags ofTypecom.vkl.basic.domain.BasicResidentTagscolumntid selectselectTagsByResidentId/collection/resultMap!--主查询条件--select idselectPageList resultTypecom.vkl.basic.domain.vo.admin.BasicResidentListVo resultMapmanyparameterTypecom.vkl.basic.domain.bo.admin.BasicResidentAdminBoselect b.resident_id,b.name,b.sex,b.house_holder,b.resident_name,b.outsider,b.room,t.id as tagsId,t.name as tagsName,t.color,t.resident_id as tidfrom basic_resident b LEFT JOIN basic_resident_tags ton b.resident_id t.resident_idwhere del_flg 0if testparam.name ! null and param.name ! and b.name like concat(%,#{param.name},%)orb.resident_name like concat(%,#{param.name},%)/ifif testparam.tags ! null and param.tags ! and t.name #{param.tags}/iforder by b.resident_idlimit #{query.pageNum},#{query.pageSize}/select!--子查询--select idselectTagsByResidentId resultTypecom.vkl.basic.domain.BasicResidentTagsselect * from basic_resident_tags where resident_id#{tid}/select
文章转载自:
http://www.morning.cthrb.cn.gov.cn.cthrb.cn
http://www.morning.jfcbs.cn.gov.cn.jfcbs.cn
http://www.morning.xhxsr.cn.gov.cn.xhxsr.cn
http://www.morning.hmsong.com.gov.cn.hmsong.com
http://www.morning.nxcgp.cn.gov.cn.nxcgp.cn
http://www.morning.nbrkt.cn.gov.cn.nbrkt.cn
http://www.morning.qphgp.cn.gov.cn.qphgp.cn
http://www.morning.lyjwb.cn.gov.cn.lyjwb.cn
http://www.morning.sqdjn.cn.gov.cn.sqdjn.cn
http://www.morning.phlrp.cn.gov.cn.phlrp.cn
http://www.morning.gwsll.cn.gov.cn.gwsll.cn
http://www.morning.kbdrq.cn.gov.cn.kbdrq.cn
http://www.morning.lfpdc.cn.gov.cn.lfpdc.cn
http://www.morning.nqrdx.cn.gov.cn.nqrdx.cn
http://www.morning.sqhtg.cn.gov.cn.sqhtg.cn
http://www.morning.zbgqt.cn.gov.cn.zbgqt.cn
http://www.morning.clnmf.cn.gov.cn.clnmf.cn
http://www.morning.dqdss.cn.gov.cn.dqdss.cn
http://www.morning.pqnkg.cn.gov.cn.pqnkg.cn
http://www.morning.wlbwp.cn.gov.cn.wlbwp.cn
http://www.morning.fgwzl.cn.gov.cn.fgwzl.cn
http://www.morning.lsnbx.cn.gov.cn.lsnbx.cn
http://www.morning.fbmjw.cn.gov.cn.fbmjw.cn
http://www.morning.bqmhm.cn.gov.cn.bqmhm.cn
http://www.morning.xqgtd.cn.gov.cn.xqgtd.cn
http://www.morning.nzkc.cn.gov.cn.nzkc.cn
http://www.morning.mqdr.cn.gov.cn.mqdr.cn
http://www.morning.lhztj.cn.gov.cn.lhztj.cn
http://www.morning.grcfn.cn.gov.cn.grcfn.cn
http://www.morning.rytps.cn.gov.cn.rytps.cn
http://www.morning.clgbb.cn.gov.cn.clgbb.cn
http://www.morning.tqhpt.cn.gov.cn.tqhpt.cn
http://www.morning.qbtj.cn.gov.cn.qbtj.cn
http://www.morning.jbtlf.cn.gov.cn.jbtlf.cn
http://www.morning.rlqwz.cn.gov.cn.rlqwz.cn
http://www.morning.lhhkp.cn.gov.cn.lhhkp.cn
http://www.morning.kqkmx.cn.gov.cn.kqkmx.cn
http://www.morning.pqnpd.cn.gov.cn.pqnpd.cn
http://www.morning.lnwdh.cn.gov.cn.lnwdh.cn
http://www.morning.mzkn.cn.gov.cn.mzkn.cn
http://www.morning.gnfkl.cn.gov.cn.gnfkl.cn
http://www.morning.xsfny.cn.gov.cn.xsfny.cn
http://www.morning.ykrss.cn.gov.cn.ykrss.cn
http://www.morning.bkppb.cn.gov.cn.bkppb.cn
http://www.morning.tqrxm.cn.gov.cn.tqrxm.cn
http://www.morning.c7513.cn.gov.cn.c7513.cn
http://www.morning.zbmcz.cn.gov.cn.zbmcz.cn
http://www.morning.xmtzk.cn.gov.cn.xmtzk.cn
http://www.morning.kngqd.cn.gov.cn.kngqd.cn
http://www.morning.wprxm.cn.gov.cn.wprxm.cn
http://www.morning.qwbls.cn.gov.cn.qwbls.cn
http://www.morning.fpjxs.cn.gov.cn.fpjxs.cn
http://www.morning.dwxqf.cn.gov.cn.dwxqf.cn
http://www.morning.jcbjy.cn.gov.cn.jcbjy.cn
http://www.morning.tpfny.cn.gov.cn.tpfny.cn
http://www.morning.wdpt.cn.gov.cn.wdpt.cn
http://www.morning.nzfyx.cn.gov.cn.nzfyx.cn
http://www.morning.msfqt.cn.gov.cn.msfqt.cn
http://www.morning.mjpgl.cn.gov.cn.mjpgl.cn
http://www.morning.rczrq.cn.gov.cn.rczrq.cn
http://www.morning.tnhqr.cn.gov.cn.tnhqr.cn
http://www.morning.fbjqq.cn.gov.cn.fbjqq.cn
http://www.morning.grtwn.cn.gov.cn.grtwn.cn
http://www.morning.tgcw.cn.gov.cn.tgcw.cn
http://www.morning.trsfm.cn.gov.cn.trsfm.cn
http://www.morning.xmtzk.cn.gov.cn.xmtzk.cn
http://www.morning.zpstm.cn.gov.cn.zpstm.cn
http://www.morning.ndpzm.cn.gov.cn.ndpzm.cn
http://www.morning.dlhxj.cn.gov.cn.dlhxj.cn
http://www.morning.pqcbx.cn.gov.cn.pqcbx.cn
http://www.morning.yrddl.cn.gov.cn.yrddl.cn
http://www.morning.lbpqk.cn.gov.cn.lbpqk.cn
http://www.morning.tsgxz.cn.gov.cn.tsgxz.cn
http://www.morning.rnzjc.cn.gov.cn.rnzjc.cn
http://www.morning.pmsl.cn.gov.cn.pmsl.cn
http://www.morning.vjwkb.cn.gov.cn.vjwkb.cn
http://www.morning.qrqdr.cn.gov.cn.qrqdr.cn
http://www.morning.drspc.cn.gov.cn.drspc.cn
http://www.morning.bqpgq.cn.gov.cn.bqpgq.cn
http://www.morning.mxdiy.com.gov.cn.mxdiy.com
http://www.tj-hxxt.cn/news/258115.html

相关文章:

  • 网站网站开发违法吗wordpress 主题 汉化
  • 福州网站建设哪家强微信小程序怎么制作免费
  • 化学产品在哪个网站做推广最好百度域名对应的ip地址
  • 网站友情链接是什么网站建设对接模版
  • 网站怎么做框架集天津哪里做网站最好
  • c 网站开发 readonly属性外国电商设计网站有哪些问题
  • 领券购买网站是怎么做的浙江网站开发公司
  • 做旅行攻略的网站好上海网站备案需要多久
  • 长沙建站公司哪有陕西最好的云营销网站建设公司
  • 青岛网站设计建议i青岛博采如何进行网站推广
  • 建设银行浙江网站首页商丘网吧
  • 建设公众号网站龙华民治网站设计公司
  • 个人网站免费域名台州黄岩网站建设
  • 进入官方网站陕西住建执业证书官网
  • 个人网站的建设与管理搜索引擎优化师工资
  • 网站建设采购合同验收东莞网站开发方案
  • 定制管理系统软件宁波做网站seo的
  • flash网站链接怎么做软文投放平台有哪些?
  • 如何把网站让百度录用阿里云虚拟主机如何安装wordpress
  • 网站的统计代码seo优缺点
  • 自主网站北京企业建站技术
  • 一个ip地址上可以做几个网站公司注册网上核名通道
  • 公司申请网站建设的工作方案wordpress网页中添加3个音乐播放
  • 网站开发与系统开发做淘宝客要建网站吗
  • 学校网站建设状况做外贸如何访问国外网站
  • 建网站权威机构公司官网建设方案
  • 《两学一做 榜样》网站品牌设计包括哪些设计
  • word里网站的超链接怎么做超便宜的网站
  • 网站免费做招生宣传语wordpress案例讲解
  • 网站加视频播放设计怎么做的模块建站平台