Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jyzb_platformV2
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
赵剑炜
jyzb_platformV2
Commits
3f93ff52
Commit
3f93ff52
authored
Jul 29, 2023
by
赵剑炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复物资类别代码
parent
2961416a
全部展开
显示空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
112 行增加
和
453 行删除
+112
-453
QueryEquipmentTypeReq.java
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/query/QueryEquipmentTypeReq.java
+1
-18
UpdateEquipmentTypeReq.java
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/req/UpdateEquipmentTypeReq.java
+24
-1
EquipmentTypeController.java
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentTypeController.java
+4
-23
EquipmentType.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/EquipmentType.java
+6
-15
Supplier.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/Supplier.java
+4
-9
SupplierEquipment.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/SupplierEquipment.java
+0
-63
SupplierType.java
jyzb-biz/src/main/java/com/junmp/jyzb/entity/SupplierType.java
+3
-8
EquipmentTypeMapper.java
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/EquipmentTypeMapper.java
+2
-36
SupplierEquipmentMapper.java
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/SupplierEquipmentMapper.java
+0
-8
EquipmentTypeService.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/EquipmentTypeService.java
+3
-7
SupplierEquipmentService.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/SupplierEquipmentService.java
+0
-6
EquipmentTypeServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/EquipmentTypeServiceImpl.java
+65
-81
SupplierEquipmentServiceImpl.java
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/SupplierEquipmentServiceImpl.java
+0
-14
EquipmentTypeMapper.xml
jyzb-biz/src/main/resources/mapper/EquipmentTypeMapper.xml
+0
-144
SupplierEquipmentMapper.xml
jyzb-biz/src/main/resources/mapper/SupplierEquipmentMapper.xml
+0
-20
没有找到文件。
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/query/QueryEquipmentTypeReq.java
View file @
3f93ff52
...
...
@@ -5,33 +5,16 @@ import com.junmp.v2.common.bean.request.ValidationApi;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
public
class
QueryEquipmentTypeReq
extends
BaseRequest
{
@NotNull
(
message
=
"装备主键不能为空"
,
groups
=
{
ValidationApi
.
edit
.
class
,
ValidationApi
.
delete
.
class
,
ValidationApi
.
detail
.
class
})
private
String
id
;
@NotNull
(
message
=
"状态不能为空"
,
groups
=
{
ValidationApi
.
delete
.
class
})
private
String
state
;
private
String
unitType
;
private
String
code
;
private
String
name
;
private
String
note
;
private
String
parentId
;
private
int
warrantyPeriod
;
private
int
maintenancePeriod
;
private
int
type
;
private
List
<
String
>
supplierList
;
}
jyzb-api/src/main/java/com/junmp/jyzb/api/bean/req/UpdateEquipmentTypeReq.java
View file @
3f93ff52
...
...
@@ -3,12 +3,35 @@ package com.junmp.jyzb.api.bean.req;
import
com.junmp.v2.common.bean.request.ValidationApi
;
import
lombok.Data
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotNull
;
import
java.util.List
;
@Data
public
class
UpdateEquipmentTypeReq
{
@NotNull
(
message
=
"装备主键不能为空"
,
groups
=
{
ValidationApi
.
edit
.
class
,
ValidationApi
.
delete
.
class
,
ValidationApi
.
detail
.
class
})
private
String
id
;
@NotNull
(
message
=
"状态不能为空"
,
groups
=
{
ValidationApi
.
delete
.
class
})
@NotNull
(
message
=
"状态不能为空"
,
groups
=
{
ValidationApi
.
updateStatus
.
class
})
private
String
state
;
private
String
unitType
;
private
String
code
;
private
String
name
;
private
String
note
;
@NotBlank
(
message
=
"上级不能为空"
,
groups
=
{
ValidationApi
.
edit
.
class
,
ValidationApi
.
add
.
class
})
private
String
parentId
;
@NotBlank
(
message
=
"上级集合不能为空"
,
groups
=
{
ValidationApi
.
edit
.
class
,
ValidationApi
.
add
.
class
})
private
String
parentIds
;
private
int
warrantyPeriod
;
private
int
maintenancePeriod
;
private
int
type
;
private
List
<
String
>
supplierList
;
}
jyzb-biz/src/main/java/com/junmp/jyzb/controller/EquipmentTypeController.java
View file @
3f93ff52
...
...
@@ -28,27 +28,20 @@ public class EquipmentTypeController {
@PostMapping
(
"/AddEquipment"
)
@ApiOperation
(
"添加物资"
)
public
ApiRes
<
Boolean
>
addEquipment
(
@RequestBody
@Validated
(
QueryEquipmentTypeReq
.
add
.
class
)
Query
EquipmentTypeReq
req
)
{
public
ApiRes
<
Boolean
>
addEquipment
(
@RequestBody
@Validated
(
ValidationApi
.
add
.
class
)
Update
EquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
addEquipment
(
req
));
}
//添加装备时计算id
@PostMapping
(
"/CalculationEquipmentId"
)
public
ResponseResult
calculationEquipmentId
()
{
ResponseResult
returnMsg
=
equipmentTypeService
.
calculationEquipmentId
();
return
returnMsg
;
}
@PostMapping
(
"/DeleteEquipment"
)
@ApiOperation
(
"删除装备信息"
)
public
ApiRes
<
Boolean
>
deleteEquipment
(
@RequestBody
@Validated
(
ValidationApi
.
delete
.
class
)
Query
EquipmentTypeReq
req
)
{
public
ApiRes
<
Boolean
>
deleteEquipment
(
@RequestBody
@Validated
(
ValidationApi
.
delete
.
class
)
Update
EquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
deleteEquipment
(
req
));
}
@PostMapping
(
"/ChangeEquipmentState"
)
@ApiOperation
(
"禁用/启用装备类型"
)
public
ApiRes
<
Boolean
>
changeEquipmentState
(
@RequestBody
UpdateEquipmentTypeReq
req
)
{
public
ApiRes
<
Boolean
>
changeEquipmentState
(
@RequestBody
@Validated
(
ValidationApi
.
updateStatus
.
class
)
UpdateEquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
changeEquipmentState
(
req
));
}
...
...
@@ -67,16 +60,10 @@ public class EquipmentTypeController {
@PostMapping
(
"/UpdateEquipment"
)
@ApiOperation
(
"修改物资信息"
)
public
ApiRes
<
Boolean
>
updateEquipment
(
@RequestBody
@Validated
(
ValidationApi
.
edit
.
class
)
Query
EquipmentTypeReq
req
)
{
public
ApiRes
<
Boolean
>
updateEquipment
(
@RequestBody
@Validated
(
ValidationApi
.
edit
.
class
)
Update
EquipmentTypeReq
req
)
{
return
ApiRes
.
success
(
equipmentTypeService
.
updateEquipment
(
req
));
}
@PostMapping
(
"/ShowEquipmentChildren"
)
@ApiOperation
(
"根据类别查询装备"
)
public
ResponseResult
showEquipmentChildren
(
@RequestBody
Map
<
String
,
Object
>
msg
)
{
ResponseResult
responseMsg
=
equipmentTypeService
.
showEquipmentChildren
(
msg
);
return
responseMsg
;
}
@PostMapping
(
"/SetTypeParentIds"
)
@ApiOperation
(
"填充装备类型的parent_ids字段"
)
...
...
@@ -85,10 +72,4 @@ public class EquipmentTypeController {
return
returnMsg
;
}
@PostMapping
(
"/GetEquipmentDevelop"
)
@ApiOperation
(
"获取装备表所有信息(非树表)"
)
public
ResponseResult
getEquipmentDevelop
()
{
ResponseResult
returnMsg
=
equipmentTypeService
.
getEquipmentDevelop
();
return
returnMsg
;
}
}
jyzb-biz/src/main/java/com/junmp/jyzb/entity/EquipmentType.java
View file @
3f93ff52
package
com
.
junmp
.
jyzb
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.annotation.*
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
...
...
@@ -64,20 +61,14 @@ public class EquipmentType implements Serializable {
@TableField
(
"parent_ids"
)
private
String
parentIds
;
/**
* 创建时间
*/
@ApiModelProperty
(
value
=
"创建时间"
)
@TableField
(
"create_time"
)
@TableField
(
fill
=
FieldFill
.
INSERT_UPDATE
,
value
=
"create_time"
)
private
Date
createTime
;
/**
* 最后更新时间
*/
@ApiModelProperty
(
value
=
"最后更新时间"
)
@TableField
(
"update_time"
)
@TableField
(
fill
=
FieldFill
.
INSERT_UPDATE
,
value
=
"update_time"
)
private
Date
updateTime
;
/**
* 当前状态:0关闭/1启用
*/
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/entity/Supplier.java
View file @
3f93ff52
...
...
@@ -48,12 +48,12 @@ public class Supplier implements Serializable {
@TableField
(
value
=
"phone"
)
private
String
phone
;
/**
* 创建时间
*/
@TableField
(
value
=
"create_time"
)
@TableField
(
fill
=
FieldFill
.
INSERT_UPDATE
,
value
=
"create_time"
)
private
Date
createTime
;
@TableField
(
fill
=
FieldFill
.
INSERT_UPDATE
,
value
=
"update_time"
)
private
Date
updateTime
;
/**
* 创建人员
...
...
@@ -61,11 +61,6 @@ public class Supplier implements Serializable {
@TableField
(
value
=
"create_time"
,
fill
=
FieldFill
.
INSERT
)
private
String
createUser
;
/**
* 最后更新时间
*/
@TableField
(
value
=
"update_time"
,
fill
=
FieldFill
.
UPDATE
)
private
Date
updateTime
;
/**
* 更新人ID
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/entity/SupplierEquipment.java
deleted
100644 → 0
View file @
2961416a
package
com
.
junmp
.
jyzb
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
import
io.swagger.annotations.ApiModelProperty
;
import
java.io.Serializable
;
import
java.util.Date
;
import
lombok.AllArgsConstructor
;
import
lombok.Data
;
import
lombok.NoArgsConstructor
;
@ApiModel
(
value
=
"com-junmp-jyzb-domain-SupplierEquipment"
)
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName
(
"base_supplier_type"
)
public
class
SupplierEquipment
implements
Serializable
{
/**
* 供应商产品ID
*/
@TableField
(
value
=
"id"
)
private
String
id
;
/**
* 供应商代码
*/
@TableField
(
value
=
"supplier_id"
)
private
String
supplierId
;
/**
* 产品代码
*/
@TableField
(
value
=
"type_id"
)
private
String
typeId
;
/**
* 状态,0:启用,1:停用
*/
@TableField
(
value
=
"state"
)
private
Integer
state
;
/**
* 创建时间
*/
@TableField
(
value
=
"create_time"
)
private
Date
createTime
;
/**
* 最后更新时间
*/
@TableField
(
value
=
"update_time"
)
private
Date
updateTime
;
/**
* 更新人ID
*/
@TableField
(
value
=
"update_user"
)
private
String
updateUser
;
private
static
final
long
serialVersionUID
=
1L
;
}
\ No newline at end of file
jyzb-biz/src/main/java/com/junmp/jyzb/entity/SupplierType.java
View file @
3f93ff52
package
com
.
junmp
.
jyzb
.
entity
;
import
com.baomidou.mybatisplus.annotation.FieldFill
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
io.swagger.annotations.ApiModel
;
...
...
@@ -40,16 +41,10 @@ public class SupplierType implements Serializable {
@TableField
(
value
=
"state"
)
private
Integer
state
;
/**
* 创建时间
*/
@TableField
(
value
=
"create_time"
)
@TableField
(
fill
=
FieldFill
.
INSERT_UPDATE
,
value
=
"create_time"
)
private
Date
createTime
;
/**
* 最后更新时间
*/
@TableField
(
value
=
"update_time"
)
@TableField
(
fill
=
FieldFill
.
INSERT_UPDATE
,
value
=
"update_time"
)
private
Date
updateTime
;
/**
...
...
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/EquipmentTypeMapper.java
View file @
3f93ff52
...
...
@@ -11,46 +11,11 @@ import java.util.Map;
@Mapper
public
interface
EquipmentTypeMapper
extends
BaseMapper
<
EquipmentType
>
{
void
addEquipment
(
EquipmentType
equipmentType
);
//Map<String, Object> getOneEquipment(String id);
void
deleteEquipment
(
String
id
);
void
updateEquipment
(
EquipmentType
msg
);
List
<
String
>
getAllEquipmentId
(
String
orgId
);
void
changeEquipmentState
(
EquipmentType
msg
);
List
<
EquipmentType
>
selectAllEquipment
();
List
<
Map
<
String
,
Object
>>
getAll
();
void
addData
(
List
<
Map
<
String
,
Object
>>
resultList
);
String
getIdByParentId
(
String
parentId
);
//添加商品的供应商
void
addSupplier
(
@Param
(
"uuid"
)
String
uuid
,
@Param
(
"equipmentType"
)
EquipmentType
equipmentType
,
@Param
(
"supplierList"
)
List
<
String
>
supplierList
);
void
setCalculationId
(
@Param
(
"numStr"
)
String
numStr
,
@Param
(
"parentId"
)
String
parentId
);
String
getOneEquipmentId
(
String
numStr
);
void
deleteSupplier
(
String
id
);
Map
<
String
,
Object
>
getOneEquipment
(
EquipmentType
equipment
);
List
<
Map
<
String
,
Object
>>
getSupplierByTypeId
(
EquipmentType
equipment
);
List
<
String
>
getLowestTypeId
();
List
<
Map
<
String
,
Object
>>
getChildByParentId
(
String
equipmentId
);
void
wipeParentIdsData
();
void
setTypeParentIds
();
List
<
Map
<
String
,
Object
>>
getEquipmentDevelop
();
}
\ No newline at end of file
jyzb-biz/src/main/java/com/junmp/jyzb/mapper/SupplierEquipmentMapper.java
deleted
100644 → 0
View file @
2961416a
package
com
.
junmp
.
jyzb
.
mapper
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
SupplierEquipmentMapper
{
}
\ No newline at end of file
jyzb-biz/src/main/java/com/junmp/jyzb/service/EquipmentTypeService.java
View file @
3f93ff52
...
...
@@ -13,13 +13,12 @@ import java.util.Map;
public
interface
EquipmentTypeService
extends
IService
<
EquipmentType
>
{
Boolean
addEquipment
(
Query
EquipmentTypeReq
req
);
Boolean
addEquipment
(
Update
EquipmentTypeReq
req
);
ResponseResult
calculationEquipmentId
();
Boolean
deleteEquipment
(
Query
EquipmentTypeReq
req
);
Boolean
deleteEquipment
(
Update
EquipmentTypeReq
req
);
Boolean
updateEquipment
(
Query
EquipmentTypeReq
msg
);
Boolean
updateEquipment
(
Update
EquipmentTypeReq
msg
);
Boolean
changeEquipmentState
(
UpdateEquipmentTypeReq
req
);
...
...
@@ -27,10 +26,7 @@ public interface EquipmentTypeService extends IService<EquipmentType> {
EquipmentTypeDto
getEquipment
(
QueryEquipmentTypeReq
req
);
ResponseResult
showEquipmentChildren
(
Map
<
String
,
Object
>
msg
);
ResponseResult
setTypeParentIds
();
ResponseResult
getEquipmentDevelop
();
}
jyzb-biz/src/main/java/com/junmp/jyzb/service/SupplierEquipmentService.java
deleted
100644 → 0
View file @
2961416a
package
com
.
junmp
.
jyzb
.
service
;
public
interface
SupplierEquipmentService
{
}
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/EquipmentTypeServiceImpl.java
View file @
3f93ff52
差异被折叠。
点击展开。
jyzb-biz/src/main/java/com/junmp/jyzb/service/impl/SupplierEquipmentServiceImpl.java
deleted
100644 → 0
View file @
2961416a
package
com
.
junmp
.
jyzb
.
service
.
impl
;
import
com.junmp.jyzb.service.SupplierEquipmentService
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
com.junmp.jyzb.mapper.SupplierEquipmentMapper
;
@Service
public
class
SupplierEquipmentServiceImpl
implements
SupplierEquipmentService
{
@Resource
private
SupplierEquipmentMapper
supplierEquipmentMapper
;
}
jyzb-biz/src/main/resources/mapper/EquipmentTypeMapper.xml
View file @
3f93ff52
...
...
@@ -18,144 +18,6 @@
id, `name`, code, parent_id, create_time, update_time, `state`, note
</sql>
<select
id=
"selectAllEquipment"
resultType=
"com.junmp.jyzb.entity.EquipmentType"
>
SELECT id,name,unit,unit_type,code,parent_id,state,note,code,create_time,update_time,type
FROM base_equipment_type
where type = 0
</select>
<!-- <where>-->
<!-- <if test="SelectTypeId != null">-->
<!-- AND id LIKE CONCAT(#{SelectTypeId})-->
<!-- </if>-->
<!-- <if test="SelectState != null">-->
<!-- AND state LIKE CONCAT(#{SelectState})-->
<!-- </if>-->
<!-- </where>-->
<!-- <if test="SelectTypeId != null and SelectTypeId != ''">-->
<!-- AND id LIKE CONCAT(#{SelectTypeId})-->
<!-- </if>-->
<!-- <if test="SelectState != null and SelectState != ''">-->
<!-- AND state LIKE CONCAT(#{SelectState})-->
<!-- </if>-->
<!--SELECT id,name,unit,unit_type,code,parent_id,state,note,-->
<!-- CASE-->
<!-- WHEN update_time IS NULL THEN create_time-->
<!-- ELSE update_time-->
<!-- END AS update_time-->
<!-- FROM base_equipment_type-->
<insert
id=
"addEquipment"
parameterType=
"com.junmp.jyzb.entity.EquipmentType"
>
insert into base_equipment_type
(id,name,unit_type,code,parent_id,create_time,update_time,state,note)
values
(#{id},#{name},#{unitType},#{id},#{parentId},#{createTime},#{updateTime},1,#{note})
</insert>
<update
id=
"changeEquipmentState"
>
update base_equipment_type w
set w.state = #{state}
where w.id = #{id}
</update>
<!--<update id="changeEquipmentState">-->
<!-- update base_equipment_type w,base_supplier_id i-->
<!-- set w.state = #{state},i.state = #{state}-->
<!-- where w.id =#{id} and i.type_id = #{id}-->
<!-- </update>-->
<delete
id=
"deleteEquipment"
>
delete from base_equipment_type w
where id =#{id}
</delete>
<update
id=
"updateEquipment"
>
update base_equipment_type p
set name = #{name},unit_type=#{unitType},code=#{id},update_time=#{updateTime},parent_id=#{parentId},note=#{note}
where p.id =#{id}
</update>
<select
id=
"getAllEquipmentId"
resultType=
"String"
>
select id
from base_equipment_type w
</select>
<select
id=
"getAll"
resultType=
"Map"
>
select id,parent_id as parentId from base_equipment_type
</select>
<insert
id=
"addData"
parameterType=
"java.util.List"
>
INSERT INTO base_equipment_id (id, parent_id)
VALUES
<foreach
collection=
"list"
item=
"item"
index=
"index"
separator=
","
>
(#{item.id}, #{item.parentId})
</foreach>
</insert>
<select
id=
"getIdByParentId"
resultType=
"String"
>
select id
from base_equipment_id i
where parent_id = #{parentId}
</select>
<insert
id=
"addSupplier"
parameterType=
"com.junmp.jyzb.entity.EquipmentType"
>
INSERT INTO base_supplier_type (id,supplier_id,type_id,state,create_time,update_time)
VALUES
<foreach
collection=
"supplierList"
item=
"supplier"
separator=
","
>
(#{uuid}, #{supplier},#{equipmentType.id},1,#{equipmentType.createTime},#{equipmentType.updateTime})
</foreach>
</insert>
<update
id=
"setCalculationId"
>
update base_equipment_id i
set id = #{numStr}
where i.parent_id =#{parentId}
</update>
<select
id=
"getOneEquipmentId"
resultType=
"String"
>
select id
from base_equipment_type t
where t.id =#{numStr}
</select>
<delete
id=
"deleteSupplier"
>
delete from base_supplier_type w
where type_id =#{id}
</delete>
<select
id=
"getOneEquipment"
resultType=
"Map"
>
select id,parent_id as parentId,name,unit_type as unitType,code,create_time as createTime,update_time as updateTime,state from base_equipment_type
</select>
<select
id=
"getSupplierByTypeId"
resultType=
"java.util.Map"
>
SELECT s.name
FROM base_supplier_type t
left join base_supplier s on t.supplier_id = s.id
WHERE type_id = #{id}
</select>
<select
id=
"getLowestTypeId"
resultType=
"String"
>
select id
from base_equipment_type w
</select>
<select
id=
"getChildByParentId"
resultType=
"Map"
>
select
id,
name,
unit,
unit_type as unitType,
code,
parent_id as parentId,
state,
note,
create_time as createTime,
update_time as updateTime
from base_equipment_type
where parent_id = #{equipmentId}
</select>
<update
id=
"wipeParentIdsData"
>
UPDATE base_equipment_type t
...
...
@@ -183,9 +45,4 @@ JOIN cte ON p.id = cte.id
SET p.parent_ids = cte.parent_ids;
</update>
<select
id=
"getEquipmentDevelop"
resultType=
"Map"
>
select
*
from base_equipment_type
</select>
</mapper>
\ No newline at end of file
jyzb-biz/src/main/resources/mapper/SupplierEquipmentMapper.xml
deleted
100644 → 0
View file @
2961416a
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.junmp.jyzb.mapper.SupplierEquipmentMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.junmp.jyzb.entity.SupplierEquipment"
>
<!--@mbg.generated-->
<!--@Table base_supplier_equipment-->
<id
column=
"id"
jdbcType=
"VARCHAR"
property=
"id"
/>
<result
column=
"supplier_id"
jdbcType=
"VARCHAR"
property=
"supplierId"
/>
<result
column=
"type_id"
jdbcType=
"VARCHAR"
property=
"typeId"
/>
<result
column=
"state"
jdbcType=
"INTEGER"
property=
"state"
/>
<result
column=
"create_time"
jdbcType=
"TIMESTAMP"
property=
"createTime"
/>
<result
column=
"update_time"
jdbcType=
"TIMESTAMP"
property=
"updateTime"
/>
<result
column=
"update_user"
jdbcType=
"VARCHAR"
property=
"updateUser"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
<!--@mbg.generated-->
id, supplier_id, type_id, `state`, create_time, update_time, update_user
</sql>
</mapper>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论