|
|
|
@ -77,17 +77,63 @@
|
|
|
|
|
|
|
|
|
|
<select id="getRegistration" parameterType="com.glxp.api.req.purchase.FilterPoductRequest"
|
|
|
|
|
resultType="com.glxp.api.res.purchase.SupProductResponse">
|
|
|
|
|
SELECT sup_product.*,
|
|
|
|
|
sup_company.companyName
|
|
|
|
|
supName,
|
|
|
|
|
SELECT sup_product.id,
|
|
|
|
|
sup_product.productId,
|
|
|
|
|
sup_product.enterpriseId,
|
|
|
|
|
sup_product.recordCode,
|
|
|
|
|
sup_product.recordProductName,
|
|
|
|
|
sup_product.productManageType,
|
|
|
|
|
sup_product.recordPeopleName,
|
|
|
|
|
sup_product.recordPeopleArea,
|
|
|
|
|
sup_product.recordPeopleAreaCode,
|
|
|
|
|
sup_product.recordPeopleAddress,
|
|
|
|
|
sup_product.productType,
|
|
|
|
|
sup_product.productDirectoryCode,
|
|
|
|
|
sup_product.agentArea,
|
|
|
|
|
sup_product.agentAreaCode,
|
|
|
|
|
sup_product.agentAddress,
|
|
|
|
|
sup_product.instructions,
|
|
|
|
|
sup_product.productAddress,
|
|
|
|
|
sup_product.recordText,
|
|
|
|
|
sup_product.placeOrigin,
|
|
|
|
|
sup_product.productionRegion,
|
|
|
|
|
sup_product.productionCompanyName,
|
|
|
|
|
sup_product.afterSale,
|
|
|
|
|
sup_product.specification,
|
|
|
|
|
sup_product.structure,
|
|
|
|
|
sup_product.scope,
|
|
|
|
|
sup_product.other,
|
|
|
|
|
sup_product.filePath,
|
|
|
|
|
sup_product.manufacturerIdFk,
|
|
|
|
|
sup_product.customerId,
|
|
|
|
|
sup_product.auditStatus,
|
|
|
|
|
sup_product.auditComment,
|
|
|
|
|
sup_product.sptm,
|
|
|
|
|
sup_product.ybbm,
|
|
|
|
|
sup_product.measname,
|
|
|
|
|
sup_product.cpms,
|
|
|
|
|
sup_product.relIdFk,
|
|
|
|
|
sup_product.hchzsb,
|
|
|
|
|
sup_product.remark,
|
|
|
|
|
sup_product.createUser,
|
|
|
|
|
sup_product.createTime,
|
|
|
|
|
sup_product.updateUser,
|
|
|
|
|
sup_product.updateTime,
|
|
|
|
|
sup_product.manufactory,
|
|
|
|
|
sup_product.allowNoBatch,
|
|
|
|
|
sup_product.allowNoExpire,
|
|
|
|
|
sup_product.allowNoProduct,
|
|
|
|
|
sup_product.allowNoSerial,
|
|
|
|
|
sup_company.companyName supName,
|
|
|
|
|
sup_manufacturer.companyName manufacturerName,
|
|
|
|
|
sup_manufacturer.companyName
|
|
|
|
|
sup_manufacturer.companyName,
|
|
|
|
|
sup_manufacturer.agentName
|
|
|
|
|
FROM sup_product
|
|
|
|
|
inner join sup_company
|
|
|
|
|
on sup_product.customerId = sup_company.customerId
|
|
|
|
|
INNER JOIN sup_manufacturer
|
|
|
|
|
on sup_manufacturer.manufacturerId =
|
|
|
|
|
sup_product.manufacturerIdFk
|
|
|
|
|
inner join sup_company
|
|
|
|
|
on sup_product.customerId = sup_company.customerId
|
|
|
|
|
INNER JOIN sup_manufacturer
|
|
|
|
|
on sup_manufacturer.manufacturerId =
|
|
|
|
|
sup_product.manufacturerIdFk
|
|
|
|
|
|
|
|
|
|
<where>
|
|
|
|
|
<if test="id != null and id != ''">
|
|
|
|
|