SendFlowerDao.xml 758 B

1234567891011121314151617181920
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <properties>
  3. <property name="send">
  4. <![CDATA[
  5. insert into TD_FLOWER_ORDER (ID,USERID,AMOUNT,VACSTATUS,VACTIME,VACAMOUNT,CPID,CHANNEL,SEQUENCE,PROVINCE,AREA,REMAINAMOUNT,SENDTIME,SYNCCOUNT,SYNCSUCCEED,SPID) values (
  6. to_char(sysdate,'yyyyMMddhh24miss')||SEQ_COMMON6.nextval,
  7. #[userid],#[amount],#[vacstatus],'',
  8. #[vacamount],#[cpid],#[channel],#[sequence],#[province],#[area],
  9. #[remainamount],sysdate,#[synccount],#[syncsucceed],#[spid])
  10. ]]>
  11. </property>
  12. <property name="queryuserid">
  13. <![CDATA[
  14. select userid from TD_FLOWER_ORDER where cpid=? and to_char(sendtime,'yyyymm')=? and channel not in (select channel from TB_CHANNELCONTROL_FLOWER where status = 1)
  15. ]]>
  16. </property>
  17. </properties>