| | |
| | | <result property="productMainId" column="product_main_id"/> |
| | | <result property="productModelId" column="product_model_id"/> |
| | | <result property="quantity" column="quantity"/> |
| | | <result property="batchNo" column="batch_no"/> |
| | | <result property="tenantId" column="tenant_id"/> |
| | | <result property="createTime" column="create_time"/> |
| | | </resultMap> |
| | |
| | | pm.model as model, |
| | | ppm.product_no as productNo, |
| | | p.product_name, |
| | | pm.unit |
| | | pm.unit, |
| | | pm.material_code as materialCode |
| | | from |
| | | production_product_input ppi |
| | | left join production_product_main ppm on ppm.id = ppi.product_main_id |