NutzCN Logo
问答 oracle 插入值不支持 booean类型
发布于 2883天前 作者 qq_6cc5a49e 1499 次浏览 复制 上一个帖子 下一个帖子
标签:

实体类 属性是布尔类型 ,插入语句 布尔变量的值默认变为 true 或者false ,这样orcale 报错,应该怎么解决?

14 回复

字段类型是啥

字段类型是啥

数据库类型char 1 实体类 Boolean

@qq_6cc5a49e nutz啥版本

java语句和pojo,报错信息贴一下,我看看能不能重现

问题是 执行的时候不报错,但是复制SQL 语句执行会报错 UPDATE bphc_project SET six_area=true WHERE id='1'

那只是"For example"的SQL,真实运行的是PrepareStat

插入的时候可以,但是更新的时候 有问题 updateIgnoreNull()

页面提示更新成功,但是实际没有更新成功!

调用的是dao.update?具体语句机及日志贴一下

2016-12-26 09:18:46,745 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:46,748 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:46,750 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/platform/project/verifyProjectName : ProjectController.verifyProjectName(ProjectController.java:238)
2016-12-26 09:18:46,751 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'permission'<class cn.bphc.exp.common.shiro.view.Permission>
2016-12-26 09:18:46,751 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dateUtil'<class cn.bphc.exp.common.util.DateUtil>
2016-12-26 09:18:46,752 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'stringUtil'<class cn.bphc.exp.common.util.StringUtil>
2016-12-26 09:18:46,752 cn.bphc.exp.common.shiro.cache.CachePubSub.onPMessage(CachePubSub.java:15) DEBUG - channel=LCache:shiro-activeSessionCache, msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:46,753 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'projectController'<class cn.bphc.exp.modules.controllers.platform.project.ProjectController>
2016-12-26 09:18:46,754 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_project WHERE NAME=?
| 1 |
|----|
| 66 |
For example:> "SELECT * FROM bphc_project WHERE NAME='66'"
2016-12-26 09:18:46,769 cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) DEBUG - [GET ]URI=/platform/project/verifyProjectName 18ms
2016-12-26 09:18:51,203 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:51,209 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:51,211 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/platform/project/verifyProjectCode : ProjectController.verifyProjectCode(ProjectController.java:244)
2016-12-26 09:18:51,211 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'permission'<class cn.bphc.exp.common.shiro.view.Permission>
2016-12-26 09:18:51,211 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dateUtil'<class cn.bphc.exp.common.util.DateUtil>
2016-12-26 09:18:51,212 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'stringUtil'<class cn.bphc.exp.common.util.StringUtil>
2016-12-26 09:18:51,212 cn.bphc.exp.common.shiro.cache.CachePubSub.onPMessage(CachePubSub.java:15) DEBUG - channel=LCache:shiro-activeSessionCache, msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:51,212 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'projectController'<class cn.bphc.exp.modules.controllers.platform.project.ProjectController>
2016-12-26 09:18:51,213 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_project WHERE CODE=?
| 1 |
|----|
| 66 |
For example:> "SELECT * FROM bphc_project WHERE CODE='66'"
2016-12-26 09:18:51,218 cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) DEBUG - [GET ]URI=/platform/project/verifyProjectCode 7ms
2016-12-26 09:18:51,324 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:51,327 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:51,328 cn.bphc.exp.common.shiro.cache.CachePubSub.onPMessage(CachePubSub.java:15) DEBUG - channel=LCache:shiro-activeSessionCache, msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:51,328 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/platform/project/editDo : ProjectController.editDo(ProjectController.java:172)
2016-12-26 09:18:51,329 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'permission'<class cn.bphc.exp.common.shiro.view.Permission>
2016-12-26 09:18:51,329 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dateUtil'<class cn.bphc.exp.common.util.DateUtil>
2016-12-26 09:18:51,329 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'stringUtil'<class cn.bphc.exp.common.util.StringUtil>
2016-12-26 09:18:51,329 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'projectController'<class cn.bphc.exp.modules.controllers.platform.project.ProjectController>
2016-12-26 09:18:51,331 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110102 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110102'"
2016-12-26 09:18:51,333 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_area WHERE id='16'"
2016-12-26 09:18:51,335 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|---|
| 4 |
For example:> "SELECT * FROM bphc_common_street WHERE id='4'"
2016-12-26 09:18:51,337 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:57,136 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - UPDATE bphc_project SET code=?,name=?,address=?,property_right_name=?,property_right_address=?,street_code=?,property_right_street_code=?,area_code=?,property_right_area_code=?,longitude=?,latitude=?,rent=?,buildingAge=?,propertyCosts=?,propertyCompany=?,developers=?,buildingTotal=?,houseTotal=?,securityRoomTotal=?,securityRoomLease=?,securityRoomAlready=?,describe=?,projectStatus=?,six_area=?,memo=?,created_at=?,updated_at=? WHERE id=?
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 |
|----|----|---|----|---|---|----|--------|--------|----|---|----|----|----|----|----|----|----|----|----|----|----|-----|------|----|---------------------|---------------------|-------------------------------------------------------------------|
| 66 | 66 | 6 | 66 | 6 | 4 | 16 | 110102 | 110101 | 66 | 6 | 66 | 66 | 66 | 66 | 66 | 66 | 66 | 66 | 66 | 66 | 66 | ONE | true | 66 | 2016-12-26 09:18:51 | 2016-12-26 09:18:51 | 69ced1daadb74c16903b6e7ef69fc24d,69ced1daadb74c16903b6e7ef69fc24d |
For example:> "UPDATE bphc_project SET code='66',name='66',address='6',property_right_name='66',property_right_address='6',street_code='4',property_right_street_code='16',area_code='110102',property_right_area_code='110101',longitude='66',latitude='6',rent='66',buildingAge='66',propertyCosts='66',propertyCompany='66',developers='66',buildingTotal='66',houseTotal='66',securityRoomTotal='66',securityRoomLease='66',securityRoomAlready='66',describe='66',projectStatus='ONE',six_area=true,memo='66',created_at='2016-12-26 09:18:51',updated_at='2016-12-26 09:18:51' WHERE id='69ced1daadb74c16903b6e7ef69fc24d,69ced1daadb74c16903b6e7ef69fc24d'"
2016-12-26 09:18:57,144 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'sLogService'<class cn.bphc.exp.common.services.log.SLogService>
2016-12-26 09:18:57,145 cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) DEBUG - [POST]URI=/platform/project/editDo 5816ms
2016-12-26 09:18:57,146 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - INSERT INTO bphc_sys_log(nickname,type,tag,src,ip,msg,opBy,updated_At,deleted) VALUES(?,?,?,?,?,?,?,?,?)
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|-------|-----------|-------|---------------------------------------------------------------------------|-----------|----------------------------------------------------------------------|----------------------------------|---------------------|------|
| 超级管理员 | aop.after | 修改项目表 | cn.bphc.exp.modules.controllers.platform.project.ProjectController#editDo | 127.0.0.1 | ID:69ced1daadb74c16903b6e7ef69fc24d,69ced1daadb74c16903b6e7ef69fc24d | 2563fe8ce6874312887b701055b7c04f | 2016-12-26 09:18:57 | NULL |
For example:> "INSERT INTO bphc_sys_log(nickname,type,tag,src,ip,msg,opBy,updated_At,deleted) VALUES('超级管理员','aop.after','修改项目表','cn.bphc.exp.modules.controllers.platform.project.ProjectController#editDo','127.0.0.1','ID:69ced1daadb74c16903b6e7ef69fc24d,69ced1daadb74c16903b6e7ef69fc24d','2563fe8ce6874312887b701055b7c04f','2016-12-26 09:18:57','NULL') "
2016-12-26 09:18:58,184 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:58,187 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:58,189 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [GET] path=/platform/project/ : ProjectController.index(ProjectController.java:51)
2016-12-26 09:18:58,189 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'permission'<class cn.bphc.exp.common.shiro.view.Permission>
2016-12-26 09:18:58,189 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dateUtil'<class cn.bphc.exp.common.util.DateUtil>
2016-12-26 09:18:58,190 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'stringUtil'<class cn.bphc.exp.common.util.StringUtil>
2016-12-26 09:18:58,190 cn.bphc.exp.common.shiro.cache.CachePubSub.onPMessage(CachePubSub.java:15) DEBUG - channel=LCache:shiro-activeSessionCache, msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:58,191 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'projectController'<class cn.bphc.exp.modules.controllers.platform.project.ProjectController>
2016-12-26 09:18:58,225 cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) DEBUG - [GET ]URI=/platform/project/ 36ms
2016-12-26 09:18:58,608 cn.bphc.exp.common.shiro.cache.RedisCache.put(RedisCache.java:55) DEBUG - SET name=shiro-activeSessionCache key=vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:58,612 cn.bphc.exp.common.shiro.cache.LCache.fire(LCache.java:100) DEBUG - fire channel=LCache:shiro-activeSessionCache msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:58,619 cn.bphc.exp.common.shiro.cache.CachePubSub.onPMessage(CachePubSub.java:15) DEBUG - channel=LCache:shiro-activeSessionCache, msg=qq1ltiilugj78r25fk4k6ee102:vo1dlvutgogmgpsqqks71dbo05
2016-12-26 09:18:58,623 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/platform/project/data : ProjectController.data(ProjectController.java:64)
2016-12-26 09:18:58,638 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'permission'<class cn.bphc.exp.common.shiro.view.Permission>
2016-12-26 09:18:58,639 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'dateUtil'<class cn.bphc.exp.common.util.DateUtil>
2016-12-26 09:18:58,639 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'stringUtil'<class cn.bphc.exp.common.util.StringUtil>
2016-12-26 09:18:58,639 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:151) DEBUG - Get 'projectController'<class cn.bphc.exp.modules.controllers.platform.project.ProjectController>
2016-12-26 09:18:58,644 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT COUNT(*) FROM bphc_project
2016-12-26 09:18:58,673 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM (SELECT T.*, ROWNUM RN FROM ( SELECT * FROM bphc_project ORDER BY code DESC ) T WHERE ROWNUM <= 10) WHERE RN > 0
2016-12-26 09:18:58,745 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|---|
| 4 |
For example:> "SELECT * FROM bphc_common_street WHERE id='4'"
2016-12-26 09:18:58,748 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,750 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110102 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110102'"
2016-12-26 09:18:58,753 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,756 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,759 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|---|
| 1 |
For example:> "SELECT * FROM bphc_common_street WHERE id='1'"
2016-12-26 09:18:58,761 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,763 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110102 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110102'"
2016-12-26 09:18:58,766 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,768 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,770 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,772 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,774 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,777 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,779 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,781 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,783 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,798 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,801 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,804 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,808 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,810 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_street WHERE id=?
| 1 |
|----|
| 16 |
For example:> "SELECT * FROM bphc_common_street WHERE id='16'"
2016-12-26 09:18:58,813 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,815 org.nutz.dao.impl.sql.run.NutDaoExecutor.printSQL(NutDaoExecutor.java:388) DEBUG - SELECT * FROM bphc_common_area WHERE id=?
| 1 |
|--------|
| 110101 |
For example:> "SELECT * FROM bphc_common_area WHERE id='110101'"
2016-12-26 09:18:58,821 cn.bphc.exp.common.processor.LogTimeProcessor.process(LogTimeProcessor.java:26) DEBUG - [POST]URI=/platform/project/data 183ms

我觉得你还是写个简单类测试测试一下吧

添加回复
请先登陆
回到顶部