Commit 189b3fc9 authored by neo's avatar neo

[dev] fix period template and cell not found project id in xml

parent 9c69f649
......@@ -30,7 +30,8 @@
VALIDATION_DESCRIPTION,
VOUCHER_KEYWORD,
CELL_TEMPLATE_CONFIG_ID,
KEY_VALUE_PARSED_FORMULA
KEY_VALUE_PARSED_FORMULA,
PROJECT_ID
) VALUES
<trim prefix="(" suffix=")" suffixOverrides=",">
<choose>
......@@ -135,6 +136,10 @@
</when>
<otherwise>' ',</otherwise>
</choose>
<choose>
<when test="item.projectId != null">#{item.projectId,jdbcType=VARCHAR},</when>
<otherwise>' ',</otherwise>
</choose>
</trim>
</foreach>
SELECT 1 FROM DUAL
......
......@@ -21,7 +21,8 @@
IS_READ_ONLY,
COPY_FROM_ID,
CREATE_BY,
UPDATE_BY
UPDATE_BY,
PROJECT_ID
) VALUES
<trim prefix="(" suffix=")" suffixOverrides=",">
<choose>
......@@ -88,6 +89,10 @@
<when test="item.updateBy != null">#{item.updateBy,jdbcType=VARCHAR}</when>
<otherwise>' ',</otherwise>
</choose>
<choose>
<when test="item.projectId != null">#{item.projectId,jdbcType=VARCHAR},</when>
<otherwise>' ',</otherwise>
</choose>
</trim>
</foreach>
SELECT 1 FROM DUAL
......
......@@ -20,7 +20,8 @@
PARENT_ID,
TEMPLATE_ID,
CREATE_BY,
UPDATE_BY
UPDATE_BY,
PROJECT_ID
) VALUES
<trim prefix="(" suffix=")" suffixOverrides=",">
<choose>
......@@ -87,6 +88,10 @@
<when test="item.updateBy != null">#{item.updateBy,jdbcType=VARCHAR},</when>
<otherwise>' ',</otherwise>
</choose>
<choose>
<when test="item.projectId != null">#{item.projectId,jdbcType=VARCHAR},</when>
<otherwise>' ',</otherwise>
</choose>
</trim>
</foreach>
SELECT 1 FROM DUAL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment