|
@@ -50,6 +50,12 @@
|
|
<result column="pic" property="pic"/>
|
|
<result column="pic" property="pic"/>
|
|
<result column="service_life" property="serviceLife"/>
|
|
<result column="service_life" property="serviceLife"/>
|
|
<result column="next_indate" property="nextIndate"/>
|
|
<result column="next_indate" property="nextIndate"/>
|
|
|
|
+ <result column="project_no" property="projectNo" />
|
|
|
|
+ <result column="project_name" property="projectName" />
|
|
|
|
+ <result column="purchase_date" property="purchaseDate" />
|
|
|
|
+ <result column="warranty_period" property="warrantyPeriod" />
|
|
|
|
+ <result column="price" property="price" />
|
|
|
|
+ <result column="content" property="content" />
|
|
<collection property="goodsNos" select="selectGoodsNoByGoodsId" javaType="java.util.List" column="{goodId = id}"
|
|
<collection property="goodsNos" select="selectGoodsNoByGoodsId" javaType="java.util.List" column="{goodId = id}"
|
|
ofType="com.hssx.pcbms.entity.GoodsNo">
|
|
ofType="com.hssx.pcbms.entity.GoodsNo">
|
|
</collection>
|
|
</collection>
|
|
@@ -68,6 +74,12 @@
|
|
<result column="next_indate" property="nextIndate"/>
|
|
<result column="next_indate" property="nextIndate"/>
|
|
<result column="divisioncode" property="divisionCode"/>
|
|
<result column="divisioncode" property="divisionCode"/>
|
|
<result column="suffixcode" property="suffixCode"/>
|
|
<result column="suffixcode" property="suffixCode"/>
|
|
|
|
+ <result column="project_no" property="projectNo" />
|
|
|
|
+ <result column="project_name" property="projectName" />
|
|
|
|
+ <result column="purchase_date" property="purchaseDate" />
|
|
|
|
+ <result column="warranty_period" property="warrantyPeriod" />
|
|
|
|
+ <result column="price" property="price" />
|
|
|
|
+ <result column="content" property="content" />
|
|
<collection property="goodsNos" ofType="com.hssx.pcbms.entity.GoodsNo">
|
|
<collection property="goodsNos" ofType="com.hssx.pcbms.entity.GoodsNo">
|
|
<id column="nid" property="id"/>
|
|
<id column="nid" property="id"/>
|
|
<result column="model_no" property="modelNo"/>
|
|
<result column="model_no" property="modelNo"/>
|
|
@@ -101,6 +113,12 @@
|
|
<result column="good_type" property="goodType" />
|
|
<result column="good_type" property="goodType" />
|
|
<result column="rack_id" property="rackId" />
|
|
<result column="rack_id" property="rackId" />
|
|
<result column="tag_name" property="tagName" />
|
|
<result column="tag_name" property="tagName" />
|
|
|
|
+ <result column="project_no" property="projectNo" />
|
|
|
|
+ <result column="project_name" property="projectName" />
|
|
|
|
+ <result column="purchase_date" property="purchaseDate" />
|
|
|
|
+ <result column="warranty_period" property="warrantyPeriod" />
|
|
|
|
+ <result column="price" property="price" />
|
|
|
|
+ <result column="content" property="content" />
|
|
<collection property="goodsNosVO" ofType="com.hssx.pcbms.entity.vo.GoodsNoVO">
|
|
<collection property="goodsNosVO" ofType="com.hssx.pcbms.entity.vo.GoodsNoVO">
|
|
<id column="nid" property="id"/>
|
|
<id column="nid" property="id"/>
|
|
<result column="model_no" property="modelNo" />
|
|
<result column="model_no" property="modelNo" />
|
|
@@ -153,7 +171,7 @@
|
|
<select id="getListBycondition" resultMap="BaseResultMapVO">
|
|
<select id="getListBycondition" resultMap="BaseResultMapVO">
|
|
select
|
|
select
|
|
id, name, tag_id, model_number, unit, address,
|
|
id, name, tag_id, model_number, unit, address,
|
|
- factory, pic, service_life, next_indate
|
|
|
|
|
|
+ factory, pic, service_life, next_indate,project_no, project_name, purchase_date, warranty_period, price
|
|
from
|
|
from
|
|
goods
|
|
goods
|
|
<where>
|
|
<where>
|
|
@@ -228,7 +246,7 @@
|
|
<select id="getDetail" resultMap="BaseResultMapDetail">
|
|
<select id="getDetail" resultMap="BaseResultMapDetail">
|
|
select
|
|
select
|
|
g.id, g.name, g.tag_id,gt.name tag_name, g.model_number, g.unit,g.address, g.factory, g.pic, g.service_life, g.next_indate,g.division_code divisioncode,g.suffix_code suffixcode,
|
|
g.id, g.name, g.tag_id,gt.name tag_name, g.model_number, g.unit,g.address, g.factory, g.pic, g.service_life, g.next_indate,g.division_code divisioncode,g.suffix_code suffixcode,
|
|
- g.is_delete,gn.id nid,g.good_type,rd.hum,rd.door_status,rd.temp,
|
|
|
|
|
|
+ g.is_delete,gn.id nid,g.good_type,rd.hum,rd.door_status,rd.temp,g.project_no, g.project_name, g.purchase_date, g.warranty_period, g.price,g.content,
|
|
gn.model_no, gn.division_code, gn.suffix_code, gn.state, gn.indate, gn.goods_id, gn.user_id,u.name username,gn.is_maintain,u.phone
|
|
gn.model_no, gn.division_code, gn.suffix_code, gn.state, gn.indate, gn.goods_id, gn.user_id,u.name username,gn.is_maintain,u.phone
|
|
from
|
|
from
|
|
goods g
|
|
goods g
|
|
@@ -270,7 +288,7 @@
|
|
|
|
|
|
<select id="selectMyList" resultMap="BaseResultMapMyList">
|
|
<select id="selectMyList" resultMap="BaseResultMapMyList">
|
|
select
|
|
select
|
|
- g.id, g.name, g.tag_id, g.model_number, g.unit,g.address,
|
|
|
|
|
|
+ g.id, g.name, g.tag_id, g.model_number, g.unit,g.address,g.project_no, g.project_name, g.purchase_date, g.warranty_period, g.price,
|
|
g.factory, g.pic, g.service_life, g.next_indate,g.division_code divisioncode,
|
|
g.factory, g.pic, g.service_life, g.next_indate,g.division_code divisioncode,
|
|
g.suffix_code suffixcode,g.is_delete,gn.id nid,g.indate,gn.model_no,
|
|
g.suffix_code suffixcode,g.is_delete,gn.id nid,g.indate,gn.model_no,
|
|
gn.division_code, gn.suffix_code, gn.state, gn.indate, gn.goods_id,
|
|
gn.division_code, gn.suffix_code, gn.state, gn.indate, gn.goods_id,
|