sql转换前:select group_concat(RETURNSUM) as test from cr_returnplan where cifno = '10000034' and pactno in (select pactno from cr_pactmanage where appno in (select appno from cr_apply where useexp = 'yyy'))order by termnum;
sql转换后:select group_concat(conv(( RETURNSUM ) , 10, 10 ) separator"0" ) as test from cr_returnplan where cifno = '10000034' and pactno in (select pactno from cr_pactmanage where appno in (select appno from cr_apply where useexp = 'yyy'))order by termnum;
自定义了一个数据库验证函数 :
Function VerifySQLDaTa(conStr,sqlStr,verifyProperty,expectValue)
xml:
<Environment>
<Variable>
<Name>ConnStr</Name>
<Value>DRIVER={MySQL ODBC 3.51 Driver}; DATABASE=xedk;DSN=loan;OPTION=0WD=adminORT=3306;SERVER=192.168.2.223;UID=xedk</Value>
</Variable>
<Variable>
<Name>sqlStr</Name>
<Value>select RETURNSUM as test from cr_returnplan where cifno = '10000034' and pactno in (select pactno from cr_pactmanage where appno in (select appno from cr_apply where useexp = 'yyy'))order by termnum;
</Value>
</Variable>