定数包加工代码初始化
parent
70c4f26511
commit
de55970ff8
@ -0,0 +1,9 @@
|
||||
package com.glxp.api.dao.inout;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.api.entity.inout.IoDestinyProcessCodeEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface IoDestinyProcessCodeMapper extends BaseMapper<IoDestinyProcessCodeEntity> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.glxp.api.dao.inout;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.api.entity.inout.IoDestinyProcessDetailEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface IoDestinyProcessDetailMapper extends BaseMapper<IoDestinyProcessDetailEntity> {
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.glxp.api.dao.inout;
|
||||
|
||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||
import com.glxp.api.entity.inout.IoDestinyProcessEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
@Mapper
|
||||
public interface IoDestinyProcessMapper extends BaseMapper<IoDestinyProcessEntity> {
|
||||
}
|
@ -0,0 +1,82 @@
|
||||
package com.glxp.api.entity.inout;
|
||||
|
||||
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 java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 定速包加工明细表
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "io_destiny_process_code")
|
||||
public class IoDestinyProcessCodeEntity {
|
||||
@TableId(value = "id", type = IdType.INPUT)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 订单号外键
|
||||
*/
|
||||
@TableField(value = "orderIdFk")
|
||||
private String orderIdFk;
|
||||
|
||||
/**
|
||||
* 耗材字典ID外键
|
||||
*/
|
||||
@TableField(value = "bindRlFk")
|
||||
private String bindRlFk;
|
||||
|
||||
/**
|
||||
* DI信息UUID外键
|
||||
*/
|
||||
@TableField(value = "uuidFk")
|
||||
private String uuidFk;
|
||||
|
||||
/**
|
||||
* DI
|
||||
*/
|
||||
@TableField(value = "nameCode")
|
||||
private String nameCode;
|
||||
|
||||
/**
|
||||
* 批次号
|
||||
*/
|
||||
@TableField(value = "batchNo")
|
||||
private String batchNo;
|
||||
|
||||
/**
|
||||
* 生产日期
|
||||
*/
|
||||
@TableField(value = "productDate")
|
||||
private String productDate;
|
||||
|
||||
/**
|
||||
* 失效日期
|
||||
*/
|
||||
@TableField(value = "expireDate")
|
||||
private String expireDate;
|
||||
|
||||
/**
|
||||
* 价格
|
||||
*/
|
||||
@TableField(value = "price")
|
||||
private BigDecimal price;
|
||||
|
||||
/**
|
||||
* 供应商ID外键
|
||||
*/
|
||||
@TableField(value = "supId")
|
||||
private String supId;
|
||||
|
||||
/**
|
||||
* 单据数量
|
||||
*/
|
||||
@TableField(value = "`count`")
|
||||
private Integer count;
|
||||
|
||||
@TableField(value = "updateTime")
|
||||
private Date updateTime;
|
||||
}
|
@ -0,0 +1,35 @@
|
||||
package com.glxp.api.entity.inout;
|
||||
|
||||
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 lombok.Data;
|
||||
|
||||
/**
|
||||
* 定数包产品关联表
|
||||
*/
|
||||
@Data
|
||||
@TableName(value = "io_destiny_process_detail")
|
||||
public class IoDestinyProcessDetailEntity {
|
||||
@TableId(value = "id", type = IdType.INPUT)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 耗材产品id
|
||||
*/
|
||||
@TableField(value = "relId")
|
||||
private Long relId;
|
||||
|
||||
/**
|
||||
* 数量
|
||||
*/
|
||||
@TableField(value = "`count`")
|
||||
private Integer count;
|
||||
|
||||
/**
|
||||
* 实际数量
|
||||
*/
|
||||
@TableField(value = "reCount")
|
||||
private Integer reCount;
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.glxp.api.service.inout;
|
||||
|
||||
import com.glxp.api.entity.inout.IoDestinyProcessCodeEntity;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
public interface IoDestinyProcessCodeService{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.glxp.api.service.inout;
|
||||
|
||||
import com.glxp.api.entity.inout.IoDestinyProcessDetailEntity;
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
public interface IoDestinyProcessDetailService{
|
||||
|
||||
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
package com.glxp.api.service.inout;
|
||||
|
||||
|
||||
public interface IoDestinyProcessService{
|
||||
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
package com.glxp.api.service.inout.impl;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.glxp.api.service.inout.IoDestinyProcessCodeService;
|
||||
@Service
|
||||
public class IoDestinyProcessCodeServiceImpl implements IoDestinyProcessCodeService {
|
||||
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
package com.glxp.api.service.inout.impl;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.glxp.api.dao.inout.IoDestinyProcessDetailMapper;
|
||||
import com.glxp.api.entity.inout.IoDestinyProcessDetailEntity;
|
||||
import com.glxp.api.service.inout.IoDestinyProcessDetailService;
|
||||
@Service
|
||||
public class IoDestinyProcessDetailServiceImpl implements IoDestinyProcessDetailService{
|
||||
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.glxp.api.service.inout.impl;
|
||||
|
||||
|
||||
import com.glxp.api.service.inout.IoDestinyProcessService;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
@Service
|
||||
public class IoDestinyProcessServiceImpl implements IoDestinyProcessService {
|
||||
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
<?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.glxp.api.dao.inout.IoDestinyProcessCodeMapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.api.entity.inout.IoDestinyProcessCodeEntity">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table udi_wms.io_destiny_process_code-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="orderIdFk" jdbcType="VARCHAR" property="orderIdFk" />
|
||||
<result column="bindRlFk" jdbcType="VARCHAR" property="bindRlFk" />
|
||||
<result column="uuidFk" jdbcType="VARCHAR" property="uuidFk" />
|
||||
<result column="nameCode" jdbcType="VARCHAR" property="nameCode" />
|
||||
<result column="batchNo" jdbcType="VARCHAR" property="batchNo" />
|
||||
<result column="productDate" jdbcType="VARCHAR" property="productDate" />
|
||||
<result column="expireDate" jdbcType="VARCHAR" property="expireDate" />
|
||||
<result column="price" jdbcType="DECIMAL" property="price" />
|
||||
<result column="supId" jdbcType="VARCHAR" property="supId" />
|
||||
<result column="count" jdbcType="INTEGER" property="count" />
|
||||
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, orderIdFk, bindRlFk, uuidFk, nameCode, batchNo, productDate, expireDate, price,
|
||||
supId, `count`, updateTime
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,16 @@
|
||||
<?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.glxp.api.dao.inout.IoDestinyProcessDetailMapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.api.entity.inout.IoDestinyProcessDetailEntity">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table udi_wms.io_destiny_process_detail-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="relId" jdbcType="BIGINT" property="relId" />
|
||||
<result column="count" jdbcType="INTEGER" property="count" />
|
||||
<result column="reCount" jdbcType="INTEGER" property="reCount" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, relId, `count`, reCount
|
||||
</sql>
|
||||
</mapper>
|
@ -0,0 +1,25 @@
|
||||
<?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.glxp.api.dao.inout.IoDestinyProcessMapper">
|
||||
<resultMap id="BaseResultMap" type="com.glxp.api.entity.inout.IoDestinyProcessEntity">
|
||||
<!--@mbg.generated-->
|
||||
<!--@Table udi_wms.io_destiny_process-->
|
||||
<id column="id" jdbcType="BIGINT" property="id" />
|
||||
<result column="destinyId" jdbcType="BIGINT" property="destinyId" />
|
||||
<result column="destinyNo" jdbcType="BIGINT" property="destinyNo" />
|
||||
<result column="billNo" jdbcType="VARCHAR" property="billNo" />
|
||||
<result column="billDate" jdbcType="TIMESTAMP" property="billDate" />
|
||||
<result column="invCode" jdbcType="VARCHAR" property="invCode" />
|
||||
<result column="remark" jdbcType="VARCHAR" property="remark" />
|
||||
<result column="createTime" jdbcType="TIMESTAMP" property="createTime" />
|
||||
<result column="updateTime" jdbcType="TIMESTAMP" property="updateTime" />
|
||||
<result column="createUser" jdbcType="VARCHAR" property="createUser" />
|
||||
<result column="updateUser" jdbcType="VARCHAR" property="updateUser" />
|
||||
<result column="status" jdbcType="INTEGER" property="status" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--@mbg.generated-->
|
||||
id, destinyId, destinyNo, billNo, billDate, invCode, remark, createTime, updateTime,
|
||||
`createUser`, updateUser, `status`
|
||||
</sql>
|
||||
</mapper>
|
Loading…
Reference in New Issue