摘要: SELECT GROUP_CONCAT(c.role_id SEPARATOR ',') as kpiName FROM xtgl_user_role c WHERE user_id=150; 阅读全文
posted @ 2020-09-11 11:31 LQ_2017 阅读(40) 评论(0) 推荐(0)
摘要: 1、下载安装VisualSVN 2、安装路径binpath、仓库路径repositypath自定义 3、在仓库下创建项目文件夹、设置用户 4、导入项目,可直接获取路径在编辑器上分享项目,再提交 5、设置开机自启服务(cmd命令直接输入) sc create svn binpath= "\"E:\in 阅读全文
posted @ 2020-08-19 12:02 LQ_2017 阅读(697) 评论(0) 推荐(0)
摘要: // 服务器地址 String filePath = System.getProperty("catalina.home") + "/webapps/mis/XtglOrganization/upload/" + newFileName; // 创建要保存文件的路径,不存在时自动创建 File di 阅读全文
posted @ 2020-08-14 14:53 LQ_2017 阅读(542) 评论(0) 推荐(0)
摘要: maven依赖包 <!--AOP切面配置 --> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjrt</artifactId> <version>1.8.6</version> </dependency> <depend 阅读全文
posted @ 2020-08-14 10:14 LQ_2017 阅读(257) 评论(0) 推荐(0)
摘要: 批量删除 <!--根据ids批量删除 --> <delete id="deleteByBatch" parameterType="java.lang.String"> delete from xtgl_role where id IN <foreach collection="array" item 阅读全文
posted @ 2020-08-12 17:01 LQ_2017 阅读(83) 评论(0) 推荐(0)
摘要: 1、30分钟内的记录 SELECT * FROM toa_machine_restart t WHERE t.END_DATE IS NOT NULL AND t.END_DATE>DATE_ADD(NOW(), INTERVAL -30 MINUTE) 阅读全文
posted @ 2020-08-12 11:49 LQ_2017 阅读(140) 评论(0) 推荐(0)
摘要: <!-- 调用存储过程 --> <select id="callCalendarInfo" statementType="CALLABLE" resultMap="BaseResultMap"> {call create_calendar( #{date1},#{date2},#{orgId} )} 阅读全文
posted @ 2020-08-12 11:23 LQ_2017 阅读(43) 评论(0) 推荐(0)
摘要: <!--根据id数组批量修改 --> <update id="updateByIds" parameterType="com.mis.yxnz.entity.CalendarInfo"> update calendar_info <set> <if test="name != null and na 阅读全文
posted @ 2020-08-12 11:01 LQ_2017 阅读(1274) 评论(0) 推荐(0)
摘要: <insert id="insertSelective" parameterType="com.mis.yxnz.entity.CrmClues" useGeneratedKeys="true" keyProperty="id"> keyProperty="id"传的是实体 阅读全文
posted @ 2020-08-12 10:52 LQ_2017 阅读(106) 评论(0) 推荐(0)
摘要: foreach嵌套批量添加 <insert id="insertAll" parameterType="java.util.List"> insert into kpi_indicator_user_link (indicator_id,user_id,check_id,weight,ord,org 阅读全文
posted @ 2020-08-12 10:48 LQ_2017 阅读(831) 评论(0) 推荐(0)