{"id":692,"date":"2021-04-30T15:08:22","date_gmt":"2021-04-30T06:08:22","guid":{"rendered":"https:\/\/oths.biz\/Tomoki.Oi\/?p=692"},"modified":"2021-04-30T15:08:22","modified_gmt":"2021-04-30T06:08:22","slug":"1512","status":"publish","type":"post","link":"https:\/\/oths.biz\/Tomoki.Oi\/2021\/04\/30\/1512\/","title":{"rendered":"EC CUBE2.1x \u306eCSV\u51fa\u529b\u3067\u3001\u767a\u9001\u60c5\u5831\u3082\u542b\u3081\u3088"},"content":{"rendered":"<p>\u3055\u3089\u306b\u3001\u767a\u9001\u60c5\u5831\u3082\u4e00\u7dd2\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u3001\u3068\u3044\u3046\u30aa\u30fc\u30c0\u30fc\u3002\u5225\u8868\u304b\u3089\u304a\u307e\u3068\u3081\u3059\u308b\u611f\u3058\u3002\u3044\u3089\u306a\u3044\u3068\u3053\u308d\u306f\u3001\u306e\u3061\u306e\u3061\u524a\u3063\u3066\u3044\u3053\u3046\u3002<\/p>\n<p><code><br \/>\ndtb_order.order_id,<br \/>\ndtb_order.customer_id,<br \/>\ndtb_order.message,<br \/>\ndtb_order.order_name01,<br \/>\ndtb_order.order_name02,<br \/>\ndtb_order.order_kana01,<br \/>\ndtb_order.order_kana02,<br \/>\ndtb_order.order_email,<br \/>\ndtb_order.order_tel01,<br \/>\ndtb_order.order_tel02,<br \/>\ndtb_order.order_tel03,<br \/>\ndtb_order.order_fax01,<br \/>\ndtb_order.order_fax02,<br \/>\ndtb_order.order_fax03,<br \/>\ndtb_order.order_zip01,<br \/>\ndtb_order.order_zip02,<br \/>\n(SELECT mtb_pref.name FROM mtb_pref WHERE mtb_pref.id = dtb_order.order_pref),<br \/>\ndtb_order.order_addr01,<br \/>\ndtb_order.order_addr02,<br \/>\ndtb_order.order_sex,<br \/>\ndtb_order.order_birth,<br \/>\ndtb_order.order_job,<br \/>\ndtb_order_detail.product_name,<br \/>\ndtb_order_detail.product_code,<br \/>\ndtb_order_detail.classcategory_name1,<br \/>\ndtb_order_detail.classcategory_name2,<br \/>\ndtb_order_detail.price,<br \/>\ndtb_order_detail.quantity,<br \/>\ndtb_order.subtotal,<br \/>\ndtb_order.discount,<br \/>\ndtb_order.deliv_fee,<br \/>\ndtb_order.charge,<br \/>\ndtb_order.use_point,<br \/>\ndtb_order.add_point,<br \/>\ndtb_order.tax,<br \/>\ndtb_order.total,<br \/>\ndtb_order.payment_total,<br \/>\ndtb_order.deliv_id,<br \/>\ndtb_order.payment_method,<br \/>\ndtb_order.note,<br \/>\ndtb_order.status,<br \/>\ndtb_order.create_date,<br \/>\ndtb_order.update_date,<br \/>\ndtb_order.commit_date,<br \/>\ndtb_order.device_type_id,<br \/>\ndtb_shipping.shipping_name01,<br \/>\ndtb_shipping.shipping_name02,<br \/>\ndtb_shipping.shipping_kana01,<br \/>\ndtb_shipping.shipping_kana02,<br \/>\ndtb_shipping.shipping_company_name,<br \/>\ndtb_shipping.shipping_tel01,<br \/>\ndtb_shipping.shipping_tel02,<br \/>\ndtb_shipping.shipping_tel03,<br \/>\ndtb_shipping.shipping_fax01,<br \/>\ndtb_shipping.shipping_fax02,<br \/>\ndtb_shipping.shipping_fax03,<br \/>\ndtb_shipping.shipping_country_id,<br \/>\n(SELECT mtb_pref.name FROM mtb_pref WHERE mtb_pref.id = dtb_shipping.shipping_pref),<br \/>\ndtb_shipping.shipping_zip01,<br \/>\ndtb_shipping.shipping_zip02,<br \/>\ndtb_shipping.shipping_zipcode,<br \/>\ndtb_shipping.shipping_addr01,<br \/>\ndtb_shipping.shipping_addr02,<br \/>\ndtb_shipping.time_id,<br \/>\ndtb_shipping.shipping_time,<br \/>\ndtb_shipping.shipping_date,<br \/>\ndtb_shipping.shipping_commit_date,<br \/>\ndtb_shipping.rank,<br \/>\ndtb_shipping.create_date,<br \/>\ndtb_shipping.update_date,<br \/>\n(SELECT count(*) FROM dtb_shipping WHERE dtb_shipping.order_id = dtb_order.order_id),<br \/>\n(SELECT array_to_string(array(SELECT dtb_shipping.shipping_id FROM dtb_shipping WHERE dtb_shipping.order_id = dtb_order.order_id), ',')),<br \/>\n(SELECT count(*) FROM dtb_shipping WHERE dtb_shipping.order_id),<br \/>\n(SELECT array_to_string(array(SELECT dtb_shipping.shipping_id FROM dtb_shipping WHERE dtb_shipping.order_id), ','))<br \/>\nFROM<br \/>\ndtb_order<br \/>\nINNER JOIN<br \/>\ndtb_order_detail<br \/>\nON<br \/>\ndtb_order.order_id = dtb_order_detail.order_id<br \/>\nINNER JOIN<br \/>\ndtb_shipping<br \/>\nON<br \/>\ndtb_order.order_id = dtb_shipping.order_id<br \/>\nAND<br \/>\ndtb_order.create_date > DATE_SUB(now(), INTERVAL 3 DAY)<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3089\u306b\u3001\u767a\u9001\u60c5\u5831\u3082\u4e00\u7dd2\u306b\u53d6\u308a\u8fbc\u307f\u305f\u3044\u3001\u3068\u3044\u3046\u30aa\u30fc\u30c0\u30fc\u3002\u5225\u8868\u304b\u3089\u304a\u307e\u3068\u3081\u3059\u308b\u611f\u3058\u3002\u3044\u3089\u306a\u3044\u3068\u3053\u308d\u306f\u3001\u306e\u3061\u306e\u3061\u524a\u3063\u3066\u3044\u3053\u3046\u3002 dtb_order.order_id, dtb_order.customer_id, dtb_or&hellip;<\/p>\n","protected":false},"author":1,"featured_media":687,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/posts\/692"}],"collection":[{"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/comments?post=692"}],"version-history":[{"count":2,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/posts\/692\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/posts\/692\/revisions\/694"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/media\/687"}],"wp:attachment":[{"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/media?parent=692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/categories?post=692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oths.biz\/Tomoki.Oi\/wp-json\/wp\/v2\/tags?post=692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}