提交 c5d1c972 编写于 作者: rushui.chen's avatar rushui.chen

20191220 mybatis时间处理

上级 753df585
流水线 #19128 已失败 于阶段
in 0 second
...@@ -106,8 +106,8 @@ public class Test { ...@@ -106,8 +106,8 @@ public class Test {
System.out.println("--------------------获取验证码接口-------------"); System.out.println("--------------------获取验证码接口-------------");
BaseRequest authCode = new BaseRequest(); BaseRequest authCode = new BaseRequest();
authCode.setFlag(3); authCode.setFlag(1);
authCode.setMobile("13024112588"); authCode.setMobile("13024112688");
String authCodeStr = JSONObject.toJSONString(authCode); String authCodeStr = JSONObject.toJSONString(authCode);
System.out.println(authCodeStr); System.out.println(authCodeStr);
String contentResult2 = AESUtil.aesEncrypt(authCodeStr, "YCPQPx4qpQjEjDea"); String contentResult2 = AESUtil.aesEncrypt(authCodeStr, "YCPQPx4qpQjEjDea");
...@@ -121,9 +121,9 @@ public class Test { ...@@ -121,9 +121,9 @@ public class Test {
//获取注册参数 //获取注册参数
BaseRequest register = null; BaseRequest register = null;
register = new BaseRequest(); register = new BaseRequest();
register.setMobile("13024112100"); register.setMobile("13024112688");
register.setPassword("D0DCBF0D12A6B1E7FBFA2CE5848F3EFF"); register.setPassword("D0DCBF0D12A6B1E7FBFA2CE5848F3EFF");
register.setAuthCode("654003"); register.setAuthCode("113058");
String registerString3 = JSONObject.toJSONString(register); String registerString3 = JSONObject.toJSONString(register);
String contentResult3 = AESUtil.aesEncrypt(registerString3, "YCPQPx4qpQjEjDea"); String contentResult3 = AESUtil.aesEncrypt(registerString3, "YCPQPx4qpQjEjDea");
String keyResult3 = RSAUtil.encrypt("YCPQPx4qpQjEjDea",publicKey); String keyResult3 = RSAUtil.encrypt("YCPQPx4qpQjEjDea",publicKey);
......
spring.profiles.active=uat spring.profiles.active=dev
\ No newline at end of file \ No newline at end of file
...@@ -83,13 +83,13 @@ ...@@ -83,13 +83,13 @@
creat_id, creat_id,
</if> </if>
<if test="creatTime != null"> <if test="creatTime != null">
NOW(), creat_time,
</if> </if>
<if test="modifyId != null"> <if test="modifyId != null">
modify_id, modify_id,
</if> </if>
<if test="modifyTime != null"> <if test="modifyTime != null">
NOW(), modify_time,
</if> </if>
<if test="password != null"> <if test="password != null">
password, password,
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
entire_flag, entire_flag,
</if> </if>
<if test="regTime != null"> <if test="regTime != null">
NOW(), reg_time,
</if> </if>
<if test="lastLoginTime != null"> <if test="lastLoginTime != null">
last_login_time, last_login_time,
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
register_type, register_type,
</if> </if>
<if test="firstLoginTime != null"> <if test="firstLoginTime != null">
NOW(), first_login_time,
</if> </if>
<if test="card != null"> <if test="card != null">
card, card,
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册