社区
Apache
帖子详情
项目运行问题
xibo0925
2017-03-15 02:15:13
...全文
266
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应用--简、美音乐播放器开发
项目
9. **错误处理和调试**:
项目
描述提到可能存在未修复的bug,因此理解和使用Android的调试工具(如Logcat)至关重要,以便定位并修复
问题
。 10. **版本控制**:良好的版本控制工具如Git可以帮助团队协作和跟踪代码...
200款优秀Android
项目
源码
这些Android
项目
源码集合提供了丰富的学习资源,涵盖了各种类型的Android应用开发。让我们逐一解析其中包含的知识点...通过分析和实践这些
项目
,开发者不仅可以深化对Android平台的理解,还能提高解决实际
问题
的能力。
VS2010彻底卸载工具
在
运行
之前,建议用户备份重要的个人数据,因为卸载过程中可能会删除与VS2010相关的所有文件,包括用户自定义的设置和
项目
。此外,执行此类工具前关闭所有正在
运行
的程序,尤其是与VS2010相关的进程,可以确保卸载...
Android开发入门60个小案例+源代码
自Android 6.0(API级别23)开始,
运行
时权限成为必须处理的
问题
,你需要学习如何在应用中请求和处理用户权限。 最后,了解如何使用Android Studio进行调试和测试,包括使用Logcat查看日志、使用JUnit或Espresso...
Apache
24,920
社区成员
16,543
社区内容
发帖
与我相关
我的任务
Apache
Web 开发 Apache
复制链接
扫一扫
分享
社区描述
Web 开发 Apache
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章