社区
Apache
帖子详情
项目运行问题
xibo0925
2017-03-15 02:15:13
...全文
247
6
打赏
收藏
项目运行问题
[图片]
复制链接
扫一扫
分享
转发到动态
举报
AI
作业
写回复
配置赞助广告
用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 能该的地方我都改了 就是不知道还掉了哪里 后台没有报错 请大家看看 可能问题出在大约什么地方我可以找找
博客《支付宝集成过程详解——
运行
DEMO》对应源码
这篇博客的标题“支付宝集成过程详解——
运行
DEMO”揭示了其主要关注的是在Android平台上如何将支付宝SDK集成到一个应用程序中,并通过
运行
DEMO来展示集成步骤。在这个过程中,开发者通常会面临如下的关键知识点: ...
200款优秀Android
项目
源码
这些Android
项目
源码集合提供了丰富的学习资源,涵盖了各种类型的Android应用开发。让我们逐一解析其中包含的知识点...通过分析和实践这些
项目
,开发者不仅可以深化对Android平台的理解,还能提高解决实际
问题
的能力。
高仿QQ2012登录界面 源代码
- QQ.exe: 这是编译后的可执行文件,代表
项目
完成后的程序,用户可以直接
运行
来体验高仿的QQ2012登录界面。 - QQ.sln: 这是Visual Studio的解决方案文件,包含了
项目
的配置信息和所有相关工程的引用,开发者可以用它...
com.google.gson.Gson(4个jar包)莫名被加了积分,回归0
在你的
问题
中,你提到“莫名被加了积分,回归0”,这可能指的是某个版本更新或者配置更改导致了Gson库在你的
项目
中的行为发生了异常,可能是错误地引入了额外的功能或依赖,或者是错误地覆盖了原有的设置,使得Gson...
Android 仿美团网,大众点评购买框悬浮效果之修改版
通过这个
项目
的实践,开发者不仅可以掌握如何实现悬浮窗功能,还能深入理解Android系统的
运行
机制,提高对Android UI设计和优化的能力。同时,阅读和分析源代码也是提升编程技巧的好方法。如果你想要进一步学习和...
Apache
24,923
社区成员
16,544
社区内容
发帖
与我相关
我的任务
Apache
Web 开发 Apache
复制链接
扫一扫
分享
社区描述
Web 开发 Apache
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章