数据接口
This commit is contained in:
parent
afd057cc14
commit
87d959f621
|
|
@ -10,7 +10,9 @@ import org.apache.poi.hpsf.Decimal;
|
|||
@Data
|
||||
public class PartInputDetails {
|
||||
|
||||
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
private String id;
|
||||
|
||||
private String inputId;
|
||||
|
|
@ -30,15 +32,15 @@ public class PartInputDetails {
|
|||
/**
|
||||
* 厂家id
|
||||
*/
|
||||
private String venderId;
|
||||
private String vendId;
|
||||
/**
|
||||
* 厂家名称
|
||||
*/
|
||||
private String venderName;
|
||||
private String vendName;
|
||||
/**
|
||||
* 配件id
|
||||
*/
|
||||
private String patyId;
|
||||
private String partId;
|
||||
/**
|
||||
* 配件类型
|
||||
*/
|
||||
|
|
@ -46,12 +48,12 @@ public class PartInputDetails {
|
|||
/**
|
||||
* 配件名称
|
||||
*/
|
||||
private String patyName;
|
||||
private String partName;
|
||||
|
||||
/**
|
||||
* 配件类型
|
||||
*/
|
||||
private String partmodel;
|
||||
private String partModel;
|
||||
|
||||
/**
|
||||
* 配件类型
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<mapper namespace="com.bonus.gzgqj.business.bases.mapper.PaTypeMapper" >
|
||||
<!--新增类型-->
|
||||
<insert id="addTypeData" useGeneratedKeys="true" keyProperty="id">
|
||||
insert into pa_type(parent_id, name,remarks,is_active,level)VALUES(#{pId},#{name},#{remarks},1,#{level})
|
||||
insert into pa_type(parent_id, name,remarks,is_active,level)VALUES(#{parentId},#{name},#{remarks},1,#{level})
|
||||
</insert>
|
||||
<update id="updateTypeData">
|
||||
update pa_type set name=#{name},remarks=#{remarks} where id=#{id}
|
||||
|
|
|
|||
Loading…
Reference in New Issue