|
1. 我反向生成了一个概念2. 概念主键设置,见图
3. 加了一个标准动作queryPhone_history_dataAction
4.mapping文件内容
<?xml version="1.0" encoding="UTF-8" standalone="no"?><model xmlns="http://www.justep.com/model">
<store name="phone_history_data"/>
<mapping concept="phone_history_data"><table name="phone_history_data" type="owner-table"><key field="phone_history_id"/>
<index fields="record_id" name="RECORD_ID" type="NORMAL"/>
<index fields="dst_agentno" name="IND_DST_AGNETNO" type="NORMAL"/>
<index fields="entity_name" name="ENTITY_NAME" type="NORMAL"/>
<index fields="dst" name="DST" type="NORMAL"/>
<index fields="src" name="SRC" type="NORMAL"/>
<index fields="user_id,lastapp,dst_agentno,callloss_status,disposition,calldate" name="IND_MAIN" type="NORMAL"/>
</table>
</mapping>
</model>
|
|