Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
ef2478a6
Commit
ef2478a6
authored
Jun 22, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change the database to new style
parent
24dfa264
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
372 deletions
+2
-372
conf_profile_dev.properties
atms-api/src/main/resources/conf/conf_profile_dev.properties
+1
-1
conf_profile_staging.properties
...i/src/main/resources/conf/conf_profile_staging.properties
+1
-1
TemplateFormulaMapper.xml
.../resources/pwc/taxtech/atms/dao/TemplateFormulaMapper.xml
+0
-370
No files found.
atms-api/src/main/resources/conf/conf_profile_dev.properties
View file @
ef2478a6
jdbc_url
=
jdbc:mysql://10.157.107.89:3306/tax_
longi
?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
jdbc_url
=
jdbc:mysql://10.157.107.89:3306/tax_
admin
?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
jdbc_user
=
root
jdbc_password
=
tax@Admin2018
jdbc_admin_db
=
tax_admin
...
...
atms-api/src/main/resources/conf/conf_profile_staging.properties
View file @
ef2478a6
jdbc_url
=
jdbc:mysql://10.157.107.89:3306/tax_
longi
?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
jdbc_url
=
jdbc:mysql://10.157.107.89:3306/tax_
admin
?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
jdbc_user
=
root
jdbc_password
=
tax@Admin2018
jdbc_admin_db
=
tax_admin
...
...
atms-api/src/main/resources/pwc/taxtech/atms/dao/TemplateFormulaMapper.xml
deleted
100644 → 0
View file @
24dfa264
<?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=
"pwc.taxtech.atms.dao.TemplateFormulaMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"pwc.taxtech.atms.entitiy.TemplateFormula"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<id
column=
"ID"
jdbcType=
"VARCHAR"
property=
"ID"
/>
<result
column=
"RowIndex"
jdbcType=
"INTEGER"
property=
"rowIndex"
/>
<result
column=
"ColumnIndex"
jdbcType=
"INTEGER"
property=
"columnIndex"
/>
<result
column=
"ColumnEndIndex"
jdbcType=
"INTEGER"
property=
"columnEndIndex"
/>
<result
column=
"Formula"
jdbcType=
"VARCHAR"
property=
"formula"
/>
<result
column=
"TemplateID"
jdbcType=
"VARCHAR"
property=
"templateID"
/>
<result
column=
"CreateTime"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"UpdateTime"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"IsManualChange"
jdbcType=
"SMALLINT"
property=
"isManualChange"
/>
<result
column=
"Instructions"
jdbcType=
"VARCHAR"
property=
"instructions"
/>
</resultMap>
<sql
id=
"Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Update_By_Example_Where_Clause"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<where>
<foreach
collection=
"example.oredCriteria"
item=
"criteria"
separator=
"or"
>
<if
test=
"criteria.valid"
>
<trim
prefix=
"("
prefixOverrides=
"and"
suffix=
")"
>
<foreach
collection=
"criteria.criteria"
item=
"criterion"
>
<choose>
<when
test=
"criterion.noValue"
>
and ${criterion.condition}
</when>
<when
test=
"criterion.singleValue"
>
and ${criterion.condition} #{criterion.value}
</when>
<when
test=
"criterion.betweenValue"
>
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
</when>
<when
test=
"criterion.listValue"
>
and ${criterion.condition}
<foreach
close=
")"
collection=
"criterion.value"
item=
"listItem"
open=
"("
separator=
","
>
#{listItem}
</foreach>
</when>
</choose>
</foreach>
</trim>
</if>
</foreach>
</where>
</sql>
<sql
id=
"Base_Column_List"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
ID, RowIndex, ColumnIndex, ColumnEndIndex, Formula, TemplateID, CreateTime, UpdateTime,
IsManualChange, Instructions
</sql>
<select
id=
"selectByExample"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormulaExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from TemplateFormula
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
<select
id=
"selectByPrimaryKey"
parameterType=
"java.lang.String"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<include
refid=
"Base_Column_List"
/>
from TemplateFormula
where ID = #{ID,jdbcType=VARCHAR}
</select>
<delete
id=
"deleteByPrimaryKey"
parameterType=
"java.lang.String"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from TemplateFormula
where ID = #{ID,jdbcType=VARCHAR}
</delete>
<delete
id=
"deleteByExample"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormulaExample"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
delete from TemplateFormula
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</delete>
<insert
id=
"insert"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormula"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into TemplateFormula (ID, RowIndex, ColumnIndex,
ColumnEndIndex, Formula, TemplateID,
CreateTime, UpdateTime, IsManualChange,
Instructions)
values (#{ID,jdbcType=VARCHAR}, #{rowIndex,jdbcType=INTEGER}, #{columnIndex,jdbcType=INTEGER},
#{columnEndIndex,jdbcType=INTEGER}, #{formula,jdbcType=VARCHAR}, #{templateID,jdbcType=VARCHAR},
#{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{isManualChange,jdbcType=SMALLINT},
#{instructions,jdbcType=VARCHAR})
</insert>
<insert
id=
"insertSelective"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormula"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into TemplateFormula
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
ID,
</if>
<if
test=
"rowIndex != null"
>
RowIndex,
</if>
<if
test=
"columnIndex != null"
>
ColumnIndex,
</if>
<if
test=
"columnEndIndex != null"
>
ColumnEndIndex,
</if>
<if
test=
"formula != null"
>
Formula,
</if>
<if
test=
"templateID != null"
>
TemplateID,
</if>
<if
test=
"createTime != null"
>
CreateTime,
</if>
<if
test=
"updateTime != null"
>
UpdateTime,
</if>
<if
test=
"isManualChange != null"
>
IsManualChange,
</if>
<if
test=
"instructions != null"
>
Instructions,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"ID != null"
>
#{ID,jdbcType=VARCHAR},
</if>
<if
test=
"rowIndex != null"
>
#{rowIndex,jdbcType=INTEGER},
</if>
<if
test=
"columnIndex != null"
>
#{columnIndex,jdbcType=INTEGER},
</if>
<if
test=
"columnEndIndex != null"
>
#{columnEndIndex,jdbcType=INTEGER},
</if>
<if
test=
"formula != null"
>
#{formula,jdbcType=VARCHAR},
</if>
<if
test=
"templateID != null"
>
#{templateID,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
#{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
#{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isManualChange != null"
>
#{isManualChange,jdbcType=SMALLINT},
</if>
<if
test=
"instructions != null"
>
#{instructions,jdbcType=VARCHAR},
</if>
</trim>
</insert>
<select
id=
"countByExample"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormulaExample"
resultType=
"java.lang.Long"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select count(*) from TemplateFormula
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
</select>
<update
id=
"updateByExampleSelective"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update TemplateFormula
<set>
<if
test=
"record.ID != null"
>
ID = #{record.ID,jdbcType=VARCHAR},
</if>
<if
test=
"record.rowIndex != null"
>
RowIndex = #{record.rowIndex,jdbcType=INTEGER},
</if>
<if
test=
"record.columnIndex != null"
>
ColumnIndex = #{record.columnIndex,jdbcType=INTEGER},
</if>
<if
test=
"record.columnEndIndex != null"
>
ColumnEndIndex = #{record.columnEndIndex,jdbcType=INTEGER},
</if>
<if
test=
"record.formula != null"
>
Formula = #{record.formula,jdbcType=VARCHAR},
</if>
<if
test=
"record.templateID != null"
>
TemplateID = #{record.templateID,jdbcType=VARCHAR},
</if>
<if
test=
"record.createTime != null"
>
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.updateTime != null"
>
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"record.isManualChange != null"
>
IsManualChange = #{record.isManualChange,jdbcType=SMALLINT},
</if>
<if
test=
"record.instructions != null"
>
Instructions = #{record.instructions,jdbcType=VARCHAR},
</if>
</set>
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByExample"
parameterType=
"map"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update TemplateFormula
set ID = #{record.ID,jdbcType=VARCHAR},
RowIndex = #{record.rowIndex,jdbcType=INTEGER},
ColumnIndex = #{record.columnIndex,jdbcType=INTEGER},
ColumnEndIndex = #{record.columnEndIndex,jdbcType=INTEGER},
Formula = #{record.formula,jdbcType=VARCHAR},
TemplateID = #{record.templateID,jdbcType=VARCHAR},
CreateTime = #{record.createTime,jdbcType=TIMESTAMP},
UpdateTime = #{record.updateTime,jdbcType=TIMESTAMP},
IsManualChange = #{record.isManualChange,jdbcType=SMALLINT},
Instructions = #{record.instructions,jdbcType=VARCHAR}
<if
test=
"_parameter != null"
>
<include
refid=
"Update_By_Example_Where_Clause"
/>
</if>
</update>
<update
id=
"updateByPrimaryKeySelective"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormula"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update TemplateFormula
<set>
<if
test=
"rowIndex != null"
>
RowIndex = #{rowIndex,jdbcType=INTEGER},
</if>
<if
test=
"columnIndex != null"
>
ColumnIndex = #{columnIndex,jdbcType=INTEGER},
</if>
<if
test=
"columnEndIndex != null"
>
ColumnEndIndex = #{columnEndIndex,jdbcType=INTEGER},
</if>
<if
test=
"formula != null"
>
Formula = #{formula,jdbcType=VARCHAR},
</if>
<if
test=
"templateID != null"
>
TemplateID = #{templateID,jdbcType=VARCHAR},
</if>
<if
test=
"createTime != null"
>
CreateTime = #{createTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"updateTime != null"
>
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
</if>
<if
test=
"isManualChange != null"
>
IsManualChange = #{isManualChange,jdbcType=SMALLINT},
</if>
<if
test=
"instructions != null"
>
Instructions = #{instructions,jdbcType=VARCHAR},
</if>
</set>
where ID = #{ID,jdbcType=VARCHAR}
</update>
<update
id=
"updateByPrimaryKey"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormula"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
update TemplateFormula
set RowIndex = #{rowIndex,jdbcType=INTEGER},
ColumnIndex = #{columnIndex,jdbcType=INTEGER},
ColumnEndIndex = #{columnEndIndex,jdbcType=INTEGER},
Formula = #{formula,jdbcType=VARCHAR},
TemplateID = #{templateID,jdbcType=VARCHAR},
CreateTime = #{createTime,jdbcType=TIMESTAMP},
UpdateTime = #{updateTime,jdbcType=TIMESTAMP},
IsManualChange = #{isManualChange,jdbcType=SMALLINT},
Instructions = #{instructions,jdbcType=VARCHAR}
where ID = #{ID,jdbcType=VARCHAR}
</update>
<select
id=
"selectByExampleWithRowbounds"
parameterType=
"pwc.taxtech.atms.entitiy.TemplateFormulaExample"
resultMap=
"BaseResultMap"
>
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
select
<if
test=
"distinct"
>
distinct
</if>
<include
refid=
"Base_Column_List"
/>
from TemplateFormula
<if
test=
"_parameter != null"
>
<include
refid=
"Example_Where_Clause"
/>
</if>
<if
test=
"orderByClause != null"
>
order by ${orderByClause}
</if>
</select>
</mapper>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment