摘要: package com.ittx.edi.erp;import java.io.File;import java.io.FileWriter;import java.io.IOException;public class test001 { public static void main(Strin 阅读全文
posted @ 2020-02-25 16:53 darling331 阅读(946) 评论(0) 推荐(0)
摘要: C#代码段 先MD5 再TripleDES加密 using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Text;using System.Security.Crypt 阅读全文
posted @ 2020-01-08 12:11 darling331 阅读(460) 评论(0) 推荐(0)
摘要: insert into TB_IF_ORDERS (DC_CD,JOB_DT,SEQ_NO,ORDER_KEY,ORDER_ID,ORDER_LINE_NUM,COMPANY_CD,CUST_CD,SKU_CD,SKU_UOM,ORDER_QTY,LOC_CD,ZONE_CD,REMARK,RGT_ 阅读全文
posted @ 2019-10-11 20:33 darling331 阅读(283) 评论(0) 推荐(0)
摘要: BEGIN DECLARE i INT default 0; DECLARE num int default 0; DECLARE count1 int default 0; DECLARE count2 int default 0; DECLARE headerid varchar(50); DE 阅读全文
posted @ 2019-09-26 12:21 darling331 阅读(787) 评论(0) 推荐(0)
摘要: SimpleDateFormat df=new SimpleDateFormat("yyyy-MM-dd") LocalDate expirationDate String expirDate="0" Date date = df.parse(expirationDate as String) // 阅读全文
posted @ 2019-09-26 12:17 darling331 阅读(4000) 评论(0) 推荐(0)
摘要: 1. 创建shell脚本 #! /bin/bash# MySQL用户user="root"# MySQL密码userPWD="123456789"# 需要定时备份的数据表列表dbName=uco_wms_test# 每次的备份数据以日期创建文件夹存放,同时删除过期备份# 此处以保留7天的备份数据为例 阅读全文
posted @ 2019-08-28 17:02 darling331 阅读(689) 评论(0) 推荐(0)
摘要: MYSQL: 1,可以使用MYSQL的系统表的记录数(亲测,有时候,会不准确,被坑了一把,如果还是想通过此方式实现查询表记录数,可以按照文章后的链接进行操作) use information_schema; select table_name,table_rows from tables where 阅读全文
posted @ 2019-08-19 11:20 darling331 阅读(357) 评论(0) 推荐(0)
摘要: 在 /home/ttx/app/uco-azj/catalina/30017/bin/set_env.sh export CATALINA_OPTS="-Xms1g -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=/home/ttx/a 阅读全文
posted @ 2019-07-26 18:51 darling331 阅读(516) 评论(0) 推荐(0)
摘要: //将客户机端口内网33306转发到外网,在通过本地连接ssh -L 3306:10.0.0.208:3306 ttx@180.180.180.182--通过git bash执行命令--10.0.0.208:3306 客户机内网ip端口--180.180.180.182客户机外网端口--然后本地连接 阅读全文
posted @ 2019-06-14 18:38 darling331 阅读(794) 评论(0) 推荐(0)
摘要: 问题:写单元测试,debug时,报错如下图 解决方法1: 在项目/.idea/workspace.xml文件中添加一行代码如下 <component name="PropertiesComponent"> ... <property name="dynamic.classpath" value="t 阅读全文
posted @ 2019-04-08 14:47 darling331 阅读(269) 评论(0) 推荐(0)