{
	"name": "query/manager/product/product_work/actual/productivity_report/time_period.json",
	"table": [
		{
			"record_type": ["actual"],
			"table": "product_work"
		}
	],
	"database": "4d",
	"parameter": {
		"end_date2": "",
		"load_group": [
				
			],
		"show_sql": false,
		"start_date2": "",
		"start_type": "AL"
	},
	"field": [
		"prwo.resource_id",
		"prwo.production_lot",
		"prwo.work_phase_number",
		"prwo.work_phase_type",
		"prwo.json_data.start_work_shift",
		"prwo.json_data.work_shift",
		"prwo.work_hours",
		"prwo.machine_hours",
		"prwo.json_data.target_time",
		"prwo.produced_amount",
		"prwo.failed_amount",
		"prwo.json_data.start_date",
		"prwo.json_data.start_time",
		"prwo.json_data.end_date",
		"prwo.json_data.end_time",
		"prwo.json_data.track_time_status",
		"prwo.json_data.measured_track_time",
		"prwo.record_id",
		"res.resource_name",
		"res.json_data.follow_track_time",
		"pro.drawing_number",
		"pro.json_data.work__position_num_id",
		"pro.row_number",
		"pr.name",
		"res.json_data.use_automatic_receipt",
		"prwo.person_id"
	],
	"query": [
		["prwo.json_data.end_date", ">=", "start_date2"],
		"and",
		["prwo.json_data.end_date", "<=", "end_date2"],
		"and",
		["prwo.work_phase_type", "<>", "start_type"],
		"and",
		["prwo.resource_id", "in", "load_group"]
	]
}