摘要: 摘录:https://blog.csdn.net/qq_35661171/article/details/78839642 System.currentTimeMillis() currentTimeMillis方法 public static long currentTimeMillis() 该方 阅读全文
posted @ 2018-08-27 14:29 wuyueping 阅读(265) 评论(0) 推荐(0) 编辑
摘要: --importFlag字段改为string类型alter table Ghreqcoverage modify (importFlag varchar2(2));-- 因为importFlag字段中有值 直接修改报错:column to be modified must be empty to c 阅读全文
posted @ 2018-08-24 10:45 wuyueping 阅读(409) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; String formDataStr = JSONObject.toJSONString(dRequest); //将对象转换为json字符串 resS 阅读全文
posted @ 2018-08-24 10:13 wuyueping 阅读(79) 评论(0) 推荐(0) 编辑
摘要: if (StrKit.isEmpty(proposalNo)) { throw GHBusinessException.errorMessage("未找到对应的投保单号"); } 返回结果 : <?xml version="1.0" encoding="UTF-8"?><response> <hea 阅读全文
posted @ 2018-08-24 09:59 wuyueping 阅读(127) 评论(0) 推荐(0) 编辑
摘要: System.out.println(1.0-0.1-0.1-0.1-0.1-0.1); //0.5000000000000001 阅读全文
posted @ 2018-08-19 17:49 wuyueping 阅读(74) 评论(0) 推荐(0) 编辑
摘要: mybatis xml DAO int deUndwrtList(@Param("certiNos")List<String> certiNos); <update id="deUndwrtList" parameterType="java.util.List"> Update PrpTmain m 阅读全文
posted @ 2018-08-17 16:45 wuyueping 阅读(161) 评论(0) 推荐(0) 编辑
摘要: --0点显示 select b.vcieffectivedate as a ,to_char(b.vcieffectivedate,'yyyy-mm-dd hh24:mi:ss') as b from ghresbase b where b.vcieffectivedate is not null; 阅读全文
posted @ 2018-08-13 15:45 wuyueping 阅读(2497) 评论(0) 推荐(0) 编辑
摘要: 要导入mysql数据库的驱动com.mysql.jdbc.Driver;所以要导入上面的 .jar包 使用的是eclipse比较简单,直接选中工程,点击Files->Properties->Java Build Path->Add External Jars 选择要导入的.jar包即可。 阅读全文
posted @ 2018-08-07 17:17 wuyueping 阅读(143) 评论(0) 推荐(0) 编辑
摘要: package test; import java.util.UUID; public class Uuid { public static void main(String[] args) { UUID uuid = UUID.randomUUID(); System.out.println(uuid); //157f... 阅读全文
posted @ 2018-08-06 10:39 wuyueping 阅读(101) 评论(0) 推荐(0) 编辑
摘要: --查询某字段不重复数据并取出最新的select * from (select m.proposalno,m.operatedate,m.underwriteflag ,row_number() over(partition by underwriteflag order by operatedat 阅读全文
posted @ 2018-08-02 11:22 wuyueping 阅读(111) 评论(0) 推荐(0) 编辑