|
|
@ -3,41 +3,12 @@ |
|
|
|
|
|
|
|
|
<mapper namespace="com.xujie.sys.modules.pms.mapper.RepairTransdetailMapper"> |
|
|
<mapper namespace="com.xujie.sys.modules.pms.mapper.RepairTransdetailMapper"> |
|
|
|
|
|
|
|
|
<!-- 可根据自己的需求,是否要使用 --> |
|
|
|
|
|
<resultMap type="com.xujie.sys.modules.pms.entity.RepairTransdetailEntity" id="repairTransdetailMap"> |
|
|
|
|
|
<result property="id" column="id"/> |
|
|
|
|
|
<result property="transno" column="TransNo"/> |
|
|
|
|
|
<result property="site" column="Site"/> |
|
|
|
|
|
<result property="itemno" column="ItemNo"/> |
|
|
|
|
|
<result property="partno" column="PartNo"/> |
|
|
|
|
|
<result property="locationid" column="LocationID"/> |
|
|
|
|
|
<result property="transqty" column="TransQty"/> |
|
|
|
|
|
<result property="direction" column="Direction"/> |
|
|
|
|
|
<result property="batchno" column="BatchNo"/> |
|
|
|
|
|
<result property="standcost" column="StandCost"/> |
|
|
|
|
|
<result property="actualcost" column="ActualCost"/> |
|
|
|
|
|
<result property="price" column="Price"/> |
|
|
|
|
|
<result property="freight" column="Freight"/> |
|
|
|
|
|
<result property="duty" column="Duty"/> |
|
|
|
|
|
<result property="orderref1" column="OrderRef1"/> |
|
|
|
|
|
<result property="orderref2" column="OrderRef2"/> |
|
|
|
|
|
<result property="orderref3" column="OrderRef3"/> |
|
|
|
|
|
<result property="orderref4" column="OrderRef4"/> |
|
|
|
|
|
<result property="orderref5" column="OrderRef5"/> |
|
|
|
|
|
<result property="remark" column="Remark"/> |
|
|
|
|
|
<result property="vitualpartflag" column="VitualPartFlag"/> |
|
|
|
|
|
<result property="manufacturedate" column="ManufactureDate"/> |
|
|
|
|
|
<result property="expireddate" column="ExpiredDate"/> |
|
|
|
|
|
<result property="costgroupid" column="CostGroupID"/> |
|
|
|
|
|
<result property="transqty2" column="TransQty2"/> |
|
|
|
|
|
<result property="orderreftypeDb" column="OrderRefType_DB"/> |
|
|
|
|
|
<result property="orderreftype" column="OrderRefType"/> |
|
|
|
|
|
<result property="citemCode" column="citem_code"/> |
|
|
|
|
|
</resultMap> |
|
|
|
|
|
<select id="queryPage" resultType="com.xujie.sys.modules.pms.entity.RepairTransdetailEntity"> |
|
|
|
|
|
|
|
|
<select id="queryPage" resultType="com.xujie.sys.modules.pms.entity.vo.RepairTransdetailVo"> |
|
|
|
|
|
|
|
|
select A.TransNo ,A.site,A.WarehouseID ,A.TransType ,A.UserName ,A.TransDate |
|
|
|
|
|
,B.PartNo ,B.LocationID ,B.TransQty ,B.BatchNo,B.ItemNo ,B.id ,C.spec |
|
|
|
|
|
|
|
|
select A.TransNo Trans_No ,A.site,A.WarehouseID Warehouse_ID ,A.TransType Trans_Type |
|
|
|
|
|
,A.UserName User_Name,A.TransDate Trans_Date |
|
|
|
|
|
,B.PartNo Part_No ,B.LocationID Location_ID,B.TransQty Trans_Qty, |
|
|
|
|
|
B.BatchNo Batch_No,B.ItemNo Item_No,B.id ,C.spec |
|
|
,C.part_description,A.remark |
|
|
,C.part_description,A.remark |
|
|
,A.PartnerID as supplier_id,vcmv.supplier_name |
|
|
,A.PartnerID as supplier_id,vcmv.supplier_name |
|
|
, A.OrderRef1 as order_ref1 |
|
|
, A.OrderRef1 as order_ref1 |
|
|
|