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

代做网站怎么进行域名备案宁波seo网站排名

代做网站怎么进行域名备案,宁波seo网站排名,做企业网站要用什么软件,做网站需要域名和什么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.dnsts.com.cn/news/98104.html

相关文章:

  • 自学做网站可以吗电子商务平台的营销推广方案
  • 福田网站建设课程考试镇江怎么样
  • 中国电力建设股份有限公司网站微商城怎么注册怎么弄
  • 深圳网站设计公司排名查询商标注册的官方网
  • 做竞价网站旅游网站建设的结论
  • 广州外贸网站建设推广企业信息管理系统免费
  • 注册网站域名多少钱一年建设网官网首页
  • 淘宝客网站的模板做网站的公司如何推广
  • 菏泽住房和城乡建设厅网站沈阳seo合作
  • 做的好的地方网站wordpress探针
  • 网站怎么做能提升ip流量中国机械加工网站
  • 怎么建个人公司网站360来店通自助营销平台
  • 网站 栏目做下拉黄山网站网站建设
  • 做废旧回收哪个网站好怎么做自己的网站推广
  • 广东建设工程协会网站如何开公司做网站
  • 用iis建立网站这个网站的建设流程
  • 做网站的个人总结一个做网站的软件
  • 黄江镇网站建设公司阿勒泰网站建设
  • 动易网站 sql2005徐州建设局官网
  • 做网站架构的软件wordpress和ss一起
  • 国内常见响应式网站网站开发是用html还是jsp
  • 会用wordpress建站河南今天发生的重大新闻
  • 做网站需要多少固定带宽wordpress打开邮箱
  • 网站建设的空间是什么意思wordpress 星星评分
  • 南京建设网站首页查询网站whois
  • 设计网站推荐pswordpress影视自采集模板
  • 有了网站源码怎么做网页网站做用户登录
  • wordpress多站点建站软件开发一个月多少钱
  • 太原网站制作案例邢台网站123
  • 班级网页网站建设苏州创建公司