rushfee/build/classes/db/task_sql.xml

161 lines
3.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sqls SYSTEM "sql_definition.dtd">
<sqls>
<sql group="rushfee_task">
<i id="saveTask"><![CDATA[
insert into RUSH_TASK_LIST
(id,
task_name,
task_remark,
creator,
create_date,
expect_begin_date,
expect_end_date,
creator_name
)
values
({id},
{task_name},
{task_remark},
{creator},
{create_date},
{expect_begin_date},
{expect_end_date},
{creator_name})
]]></i>
<i id="updateTask"><![CDATA[
update RUSH_TASK_LIST set task_name={task_name},task_remark={task_remark} ,expect_begin_date={expect_begin_date},expect_end_date={expect_end_date} where id={id}
]]></i>
<i id="saveDetail"><![CDATA[
insert into RUSH_TASK_DETAIL
(id,
org_id,
org_name,
end_date,
lately_rush_day,
total_num,
task_id,
revenueid,
count,
isservice,
feedback
)
values
({id},
{org_id},
{org_name},
{end_date},
{lately_rush_day},
{total_num},
{task_id},
{revenueid},
{count},
{isservice},
{feedback})
]]></i>
<i id="saveaccountDetail"><![CDATA[
insert into RUSH_TASK_DETAIL
(id,
org_name,
total_num,
fact_assign_num,
task_id
)
values
({id},
{org_name},
{total_num},
{fact_assign_num},
{task_id})
]]></i>
<i id="saveTaskUser"><![CDATA[
insert into RUSH_TASK_USER
(id,
task_id,
detail_id,
user_id,
user_name,
fact_num,
task_num
)
values
({id},
{task_id},
{detail_id},
{user_id},
{user_name},
{fact_num},
{task_num})
]]></i>
<i id="saveaccountTaskUser"><![CDATA[
insert into RUSH_TASK_USER
(id,
task_id,
detail_id,
user_id,
user_name,
task_num,
fact_num
)
values
({id},
{task_id},
{detail_id},
{user_id},
{user_name},
{task_num},
{fact_num})
]]></i>
<i id="updateUserNum"><![CDATA[
update RUSH_TASK_USER set fact_num={fact_num} where id={task_user_id}
]]></i>
<i id="updateDetailNum"><![CDATA[
update RUSH_TASK_DETAIL set fact_assign_num={fact_assign_num} where id={detail_id}
]]></i>
<i id="deleteTaskCenter"><![CDATA[
delete RUSH_TASK_CENTER where detail_id={detail_id}
]]></i>
<i id="deleteTaskUser"><![CDATA[
delete RUSH_TASK_USER where detail_id={detail_id}
]]></i>
<i id="deleteTaskDetail"><![CDATA[
delete RUSH_TASK_DETAIL where id={detail_id}
]]></i>
<i id="updateVisitDate"><![CDATA[
update RUSH_TASK_CENTER set is_need_again = {is_need_again},agree_visit_date = {agree_visit_date},register_date={register_date},visit_remark={visit_remark} where id ={center_id}
]]></i>
<i id="updatebiaoji"><![CDATA[
update RUSH_TASK_CENTER set agree_visit_date = {agree_visit_date} where id ={center_id}
]]></i>
<i id="saveaccount"><![CDATA[
insert into RUSH_TASK_LIST
(id,
task_name,
task_remark,
creator,
create_date,
expect_end_date,
expect_begin_date,
creator_name
)
values
({id},
{task_name},
{task_remark},
{creator},
{create_date},
{expect_end_date},
{expect_begin_date},
{creator_name})
]]></i>
</sql>
</sqls>