Advertisement
Guest User

Untitled

a guest
Mar 31st, 2020
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. <entity name="branches"
  2.  
  3. query="SELECT branch_pl, branch_en, SUBSTR(branch_code, 0, 3) AS branch_root;
  4. FROM catalogue.exhibitors_branches eb
  5. LEFT OUTER JOIN catalogue.branches b ON b.id = eb.branch_id where eb.order_id = '${offer.id}'"
  6.  
  7. deltaImportQuery="SELECT branch_pl, SUBSTR(branch_code, 0, 3) AS branch_root;
  8. FROM catalogue.exhibitors_branches eb
  9. LEFT OUTER JOIN catalogue.branches b ON b.id = eb.branch_id where eb.order_id = '${offer.id}'">
  10.  
  11. <field name="branch_pl" column="branch_pl" />
  12.  
  13. <field name="branch_en" column="branch_en" />
  14.  
  15. <field name="branch_root" column="branch_root />
  16.  
  17. </entity>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement