社区
Apache
帖子详情
项目运行问题
xibo0925
2017-03-15 02:15:13
...全文
260
6
打赏
收藏
项目运行问题
[图片]
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
6 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
xibo0925
2017-03-17
打赏
举报
回复
引用 3 楼 u011731233 的回复:
看看是不是验证类型没指定
能具体点吗
xibo0925
2017-03-16
打赏
举报
回复
引用 3 楼 u011731233 的回复:
看看是不是验证类型没指定
具体怎么看验证类型指定没指定
xibo0925
2017-03-16
打赏
举报
回复
引用 2 楼 u011731233 的回复:
toolBy的配置文件
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="com.thinkgem.jeesite.modules.wm.dao.WmBorrowDao"> <sql id="wmBorrowColumns"> a.id AS "id", a.tool_by AS "toolBy.id", a.out_date AS "outDate", a.return_date AS "returnDate", a.purpose AS "purpose", a.use_address AS "useAddress", a.out_user AS "outUser.id", a.apply_return_user AS "applyReturnUser.id", a.apply_return_time AS "applyReturnTime", a.delay_num AS "delayNum", a.delay_reasion AS "delayReasion", a.alarm_flag AS "alarmFlag", a.confirm_user AS "confirmUser.id", a.create_by AS "createBy.id", a.create_date AS "createDate", a.update_by AS "updateBy.id", a.update_date AS "updateDate", a.remarks AS "remarks", a.del_flag AS "delFlag", a.confirm_time AS "confirmTime", a.status AS "status", u7.name AS "outUser.name", u8.name AS "applyReturnUser.name", u13.name AS "confirmUser.name", u14.name AS "createBy.name", u16.name AS "updateBy.name", u17.name AS "toolBy.name" </sql> <sql id="wmBorrowJoins"> LEFT JOIN sys_user u7 ON u7.id = a.out_user LEFT JOIN sys_user u8 ON u8.id = a.apply_return_user LEFT JOIN sys_user u13 ON u13.id = a.confirm_user LEFT JOIN sys_user u14 ON u14.id = a.create_by LEFT JOIN sys_user u16 ON u16.id = a.update_by LEFT JOIN wm_tool u17 ON u17.id = a.tool_by </sql> <select id="get" resultType="WmBorrow"> SELECT <include refid="wmBorrowColumns"/> FROM wm_borrow a <include refid="wmBorrowJoins"/> WHERE a.id = #{id} </select> <select id="findList" resultType="WmBorrow"> SELECT <include refid="wmBorrowColumns"/> FROM wm_borrow a <include refid="wmBorrowJoins"/> <where> a.del_flag = #{DEL_FLAG_NORMAL} <if test="toolBy != null and toolBy != ''"> AND a.tool_by LIKE <if test="dbName == 'oracle'">'%'||#{toolBy.id}||'%'</if> <if test="dbName == 'mssql'">'%'+#{toolBy.id}+'%'</if> <if test="dbName == 'mysql'">concat('%',#{toolBy.id},'%')</if> </if> <if test="beginOutDate != null and endOutDate != null and beginOutDate != '' and endOutDate != ''"> AND a.out_date BETWEEN #{beginOutDate} AND #{endOutDate} </if> <if test="outUser != null and outUser.id != null and outUser.id != ''"> AND a.out_user = #{outUser.id} </if> <if test="alarmFlag != null and alarmFlag != ''"> AND a.alarm_flag = #{alarmFlag} </if> </where> <choose> <when test="page !=null and page.orderBy != null and page.orderBy != ''"> ORDER BY ${page.orderBy} </when> <otherwise> ORDER BY a.update_date DESC </otherwise> </choose> </select> <select id="findAllList" resultType="WmBorrow"> SELECT <include refid="wmBorrowColumns"/> FROM wm_borrow a <include refid="wmBorrowJoins"/> <where> a.del_flag = #{DEL_FLAG_NORMAL} </where> <choose> <when test="page !=null and page.orderBy != null and page.orderBy != ''"> ORDER BY ${page.orderBy} </when> <otherwise> ORDER BY a.update_date DESC </otherwise> </choose> </select> <insert id="insert"> INSERT INTO wm_borrow( id, tool_by, out_date, return_date, purpose, use_address, out_user, apply_return_user, apply_return_time, delay_num, delay_reasion, confirm_user, create_by, create_date, update_by, update_date, remarks, del_flag, confirm_time, status ) VALUES ( #{id}, #{toolBy.id}, #{outDate}, #{returnDate}, #{purpose}, #{useAddress}, #{outUser.id}, #{applyReturnUser.id}, #{applyReturnTime}, #{delayNum}, #{delayReasion}, #{confirmUser.id}, #{createBy.id}, #{createDate}, #{updateBy.id}, #{updateDate}, #{remarks}, #{delFlag}, #{confirmTime}, #{status} ) </insert> <update id="update"> UPDATE wm_borrow SET tool_by = #{toolBy.id}, out_date = #{outDate}, return_date = #{returnDate}, purpose = #{purpose}, use_address = #{useAddress}, out_user = #{outUser.id}, apply_return_user = #{applyReturnUser.id}, apply_return_time = #{applyReturnTime}, delay_num = #{delayNum}, delay_reasion = #{delayReasion}, confirm_user = #{confirmUser.id}, create_by = #{createBy.id}, create_date = #{createDate}, update_by = #{updateBy.id}, update_date = #{updateDate}, remarks = #{remarks}, confirm_time = #{confirmTime}, status = #{status} WHERE id = #{id} </update> <update id="delete"> UPDATE wm_borrow SET del_flag = #{DEL_FLAG_DELETE} WHERE id = #{id} </update> </mapper>
设计师Linda
2017-03-15
打赏
举报
回复
看看是不是验证类型没指定
设计师Linda
2017-03-15
打赏
举报
回复
toolBy的配置文件
xibo0925
2017-03-15
打赏
举报
回复
这个问题 我要添加数据 最后点保存后出现的 , 之前的问题是 我的字段名本来是toolId 后来改成了toolBy 能该的地方我都改了 就是不知道还掉了哪里 后台没有报错 请大家看看 可能问题出在大约什么地方我可以找找
Android开发入门60个小案例+源代码
自Android 6.0(API级别23)开始,
运行
时权限成为必须处理的
问题
,你需要学习如何在应用中请求和处理用户权限。 最后,了解如何使用Android Studio进行调试和测试,包括使用Logcat查看日志、使用JUnit或Espresso...
com.google.gson.Gson(4个jar包)莫名被加了积分,回归0
在你的
问题
中,你提到“莫名被加了积分,回归0”,这可能指的是某个版本更新或者配置更改导致了Gson库在你的
项目
中的行为发生了异常,可能是错误地引入了额外的功能或依赖,或者是错误地覆盖了原有的设置,使得Gson...
超级玛丽源码
这对于测试和体验游戏非常方便,同时也便于调试和
问题
排查。 7. **资源管理**:游戏中的图片资源管理也是关键,包括图像加载、绘制和优化。开发者需要了解如何在内存中高效地存储和访问这些资源。 8. **鼓励交流**...
CSDN客户端 Android新闻客户端 完整代码
8. **权限管理**:Android 6.0以上版本引入了
运行
时权限,开发者需要在
运行
时检查并请求必要的权限,如INTERNET、READ_EXTERNAL_STORAGE等。 9. **通知与推送**:如果客户端支持实时更新,可能需要集成推送服务,如...
cglib2.2.jar
在某些情况下,
项目
可能已经包含了ASM的一个版本,如果CGLIB库再引入另一个版本的ASM,可能会导致版本冲突或者
运行
时错误。使用`cglib-nodep-2.2.jar`可以避免这种
问题
,因为它内部集成了所需的ASM功能,不需要额外...
Apache
24,920
社区成员
16,543
社区内容
发帖
与我相关
我的任务
Apache
Web 开发 Apache
复制链接
扫一扫
分享
社区描述
Web 开发 Apache
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章