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

代做网站怎么进行域名备案做新闻类网站

代做网站怎么进行域名备案,做新闻类网站,门户网站建设议题汇报材料,吉林做网站哪家好if标签 用于判断条件是否成立。使用test属性进行条件判断#xff0c;如果条件为true#xff0c;则拼接sql。 where标签用于识别语句是否需要连接词and#xff0c;识别sql语句。 package com.t0.maybatisc.mapper;import com.t0.maybatisc.pojo.Emp; import org.a…if标签 用于判断条件是否成立。使用test属性进行条件判断如果条件为true则拼接sql。 where标签用于识别语句是否需要连接词and识别sql语句。 package com.t0.maybatisc.mapper;import com.t0.maybatisc.pojo.Emp; import org.apache.ibatis.annotations.*;import java.time.LocalDate; import java.util.List;Mapper public interface EmpMapper { // 条件查询public ListEmp list( String name, Short gender, LocalDate begin, LocalDate end);}?xml version1.0 encodingUTF-8 ? !DOCTYPE mapperPUBLIC -//mybatis.org//DTD Mapper 3.0//ENhttps://mybatis.org/dtd/mybatis-3-mapper.dtd mapper namespacecom.t0.maybatisc.mapper.EmpMapperselect idlist resultTypecom.t0.maybatisc.pojo.Empselect * from empwhereif testname ! nullname like concat(%,#{name},%)/ifif testgender ! nulland gender #{gender}/ifif testbegin ! null and end ! nulland entrydate between #{begin} and #{end}/if/whereorder by update_time desc/select /mapper // 根据条件查询Testpublic void list(){ // ListEmp empList empMapper.list(张,(short) 1,LocalDate.of(2010,01,01),LocalDate.of(2020,01,01));ListEmp empList empMapper.list(null,(short)1,null,null);System.out.println(empList);} } 用于select、upgrade。 foreach标签 package com.t0.maybatisc.mapper;import com.t0.maybatisc.pojo.Emp; import org.apache.ibatis.annotations.*;import java.time.LocalDate; import java.util.List;Mapper public interface EmpMapper { // 多条删除public void deleteByids(ListInteger ids);}?xml version1.0 encodingUTF-8 ? !DOCTYPE mapperPUBLIC -//mybatis.org//DTD Mapper 3.0//ENhttps://mybatis.org/dtd/mybatis-3-mapper.dtd mapper namespacecom.t0.maybatisc.mapper.EmpMapperselect iddeleteByids resultTypecom.t0.maybatisc.pojo.Empdelete from emp where id inforeach collectionids itemid separator, open( close)#{id}/foreach/select/mapper collectionids itemid separator, open( close) Testpublic void TestdeleteByids(){ListInteger ids Arrays.asList(19,18,16);empMapper.deleteByids(ids);} sql和include ?xml version1.0 encodingUTF-8 ? !DOCTYPE mapperPUBLIC -//mybatis.org//DTD Mapper 3.0//ENhttps://mybatis.org/dtd/mybatis-3-mapper.dtd mapper namespacecom.t0.maybatisc.mapper.EmpMappersql idcommonSselect id,username,password,name,gender,image,job,entrydate,dept_id,create_time,update_timefrom emp/sqlselect idlist resultTypecom.t0.maybatisc.pojo.Empinclude refidcommonS/includewhereif testname ! nullname like concat(%,#{name},%)/ifif testgender ! nulland gender #{gender}/ifif testbegin ! null and end ! nulland entrydate between #{begin} and #{end}/if/whereorder by update_time desc/select /mapper
http://www.hkea.cn/news/14366861/

相关文章:

  • 中山蚂蚁网站开发常用的seo查询工具有哪些
  • 网站如何不被收录模板下载ppt
  • 网站策划书 范文关于地产设计网站
  • 网站建设确认函网站开发客户的思路总结
  • 怎么做网站首页wordpress 页面 评论链接 新窗口打开
  • 这个域名的网站做违法的事wordpress directory
  • 可以建网站的软件大连网站优化步骤
  • 网站策划招聘网站建设一般好久到期
  • 小吃网站建设wordpress主题验证失败
  • 网站推广制作建设银行网站最近都打不开吗
  • 网站规划书 确定网站建设目的赣州新闻联播视频
  • 广州无线电集团有限公司安全优化大师
  • 百度蜘蛛抓取新网站做跨境电商要什么费用
  • 学校网站建设的背景把网站制作成app
  • 学校网站aspwordpress 自定义搜索
  • 榆次网站建设资讯网站模版
  • 网站开发工具总结社交网站建设网
  • 桂林北站地图百度网站上传
  • 中国兰州网pc主站学校网站模板免费
  • 网站建设需要桂ajax吗创意设计图片手绘黑白
  • 各大网站的网址未来的网站建设想法
  • 制作企业网站素材视频杭州万户网络
  • wordpress站酷主题网站是用什么做的
  • 产品盘网站建设后海做网站公司
  • 做火锅加盟哪个网站好wordpress图片中文
  • 北京网站建设有哪些公司大学生个人简历电子版
  • 怎么用wordpress建立本地网站软件开发培训学校哪家比较好
  • 本地网站开发爱论网
  • 温州做网站的公司android开发工具箱
  • 宿迁城乡建设监督网站18+网站推广