(select sod.siginindate from YLHT.tb_ope_sigininorder sod
where sod.taskorderno=R.taskorderno
and sod.state = 1
and rownum=1) as 实际签收时间,
(select sod.sigininenteringdate from YLHT.tb_ope_sigininorder sod
where sod.taskorderno =R.taskorderno
and sod.state = 1
and rownum=1)as 签收录入时间,
(SELECT DECODE(sod.sigininstate,1,''待签收'',''已签收'') from YLHT.tb_ope_sigininorder sod
where sod.taskorderno =R.taskorderno
and sod.state = 1
and rownum=1)as 签收状态,
最新测试是
这三个字段任意选两个都可以运行,如果全选就会出错,求解,谢谢
where sod.taskorderno=R.taskorderno
and sod.state = 1
and rownum=1) as 实际签收时间,
(select sod.sigininenteringdate from YLHT.tb_ope_sigininorder sod
where sod.taskorderno =R.taskorderno
and sod.state = 1
and rownum=1)as 签收录入时间,
(SELECT DECODE(sod.sigininstate,1,''待签收'',''已签收'') from YLHT.tb_ope_sigininorder sod
where sod.taskorderno =R.taskorderno
and sod.state = 1
and rownum=1)as 签收状态,
最新测试是
这三个字段任意选两个都可以运行,如果全选就会出错,求解,谢谢