Merge remote-tracking branch 'origin/div' into div
| | |
| | | </set> where umr_id = #{id,jdbcType=BIGINT} |
| | | </update> |
| | | |
| | | <select id="countByUid" resultMap="BaseResultMap"> |
| | | <select id="countByUid" resultType="Long"> |
| | | SELECT IFNULL(COUNT(d.`umr_id`),0) FROM yeshi_ec_user_modify_record d |
| | | WHERE d.`umr_uid` = #{uid} |
| | | <if test="">AND d.`umr_type`= #{type}</if> |
| | | <if test="type != null">AND d.`umr_type`= #{type}</if> |
| | | </select> |
| | | </mapper> |
| | |
| | | record.setCreateTime(new Date());
|
| | | userInfoModifyRecordMapper.insertSelective(record);
|
| | | } catch (Exception e) {
|
| | | e.printStackTrace();
|
| | | LogHelper.errorDetailInfo(e);
|
| | | }
|
| | | }
|