Commit 47d9141c by guojuxing

工单新建修复

parent f13edf38
......@@ -403,7 +403,7 @@ public class UdeskMessageApiServiceImpl implements UdeskMessageApiService {
List<TabUdeskTapdRel> udeskTapdRelList = udeskTapdRelService.list(params);
for (TabUdeskTapdRel tabUdeskTapdRel : udeskTapdRelList) {
try {
Method udeskMethod = TabUdeskTapdRel.class.getMethod(tabUdeskTapdRel.getUdeskIdKey());
Method udeskMethod = TabUdeskTicket.class.getMethod(tabUdeskTapdRel.getUdeskIdKey());
String value = (String) udeskMethod.invoke(tabUdeskTicket);
Method tapdMethod = TapdBugDTO.class.getMethod(tabUdeskTapdRel.getTapdId(), String.class);
tapdMethod.invoke(tapdBug, value);
......
......@@ -167,16 +167,16 @@
from tab_udesk_tapd_rel
where status = 1
<if test="relType != null">
and rel_type = #{relType,jdbcType=INTEGER},
and rel_type = #{relType,jdbcType=INTEGER}
</if>
<if test="workspaceId != null">
and workspace_id = #{workspaceId,jdbcType=CHAR},
and workspace_id = #{workspaceId,jdbcType=CHAR}
</if>
<if test="tapdName != null">
and tapd_name = #{tapdName,jdbcType=CHAR},
and tapd_name = #{tapdName,jdbcType=CHAR}
</if>
<if test="udeskName != null">
and udesk_name = #{udeskName,jdbcType=CHAR},
and udesk_name = #{udeskName,jdbcType=CHAR}
</if>
</select>
......
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