摘要:
public String generateUUID() { String uuid = UUID.randomUUID().toString(); uuid = uuid.replace("-", ""); return uuid; }
阅读全文
posted @ 2019-03-12 17:11
眺望
阅读(297)
推荐(0)
编辑
摘要:
Facade 层 实现类 (@Service("samePeriodModelImportFacade")) 1、 获取cells 的方法 public Cells getCells(File file){ Cells cells = null; License license = new Lice
阅读全文
posted @ 2019-03-12 17:09
眺望
阅读(968)
推荐(0)
编辑
摘要:
1、java 中调用pl/sql 中的存储过程 call 存储过程的名称(参数名称,参数名称) 在service 层中调用 存储过程 String sql=" call proc_psp_dispro(?,?,?) "; this.getJdbcTemplate().update(sql,参数,参数
阅读全文
posted @ 2019-03-12 10:12
眺望
阅读(176)
推荐(0)
编辑
摘要:
1、update 表名 set 表字段=(select 另一个表中的相同字段 from 另一个表表名 where 表.字段=另一个表.字段) where 表.字段=? 例子:将某个表中的更新到另一个表中 update psp_model m set m.mp_id=(select mp_id fro
阅读全文
posted @ 2019-03-12 09:40
眺望
阅读(174)
推荐(0)
编辑