add:木箱信息
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
package org.nl.b_lms.storage_manage.database.controller;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 前端控制器
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author author
|
||||||
|
* @since 2024-01-30
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/api/boxinfo")
|
||||||
|
public class BstIvtBoxinfoController {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package org.nl.b_lms.storage_manage.database.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import org.nl.b_lms.storage_manage.database.service.dao.BstIvtBoxinfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 服务类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author author
|
||||||
|
* @since 2024-01-30
|
||||||
|
*/
|
||||||
|
public interface IBstIvtBoxinfoService extends IService<BstIvtBoxinfo> {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,76 @@
|
|||||||
|
package org.nl.b_lms.storage_manage.database.service.dao;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import lombok.Builder;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import lombok.experimental.Accessors;
|
||||||
|
|
||||||
|
import java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
*
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author author
|
||||||
|
* @since 2024-01-30
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
@Accessors(chain = true)
|
||||||
|
@TableName("bst_ivt_boxinfo")
|
||||||
|
@Builder
|
||||||
|
public class BstIvtBoxinfo implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱标识
|
||||||
|
*/
|
||||||
|
@TableId(value = "box_id")
|
||||||
|
private Long box_id;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱号
|
||||||
|
*/
|
||||||
|
private String box_no;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱物料号
|
||||||
|
*/
|
||||||
|
private String material_code;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱物料名称
|
||||||
|
*/
|
||||||
|
private String material_name;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 子卷数
|
||||||
|
*/
|
||||||
|
private String num;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱长度
|
||||||
|
*/
|
||||||
|
private String box_length;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱宽度
|
||||||
|
*/
|
||||||
|
private String box_width;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 木箱高度
|
||||||
|
*/
|
||||||
|
private String box_high;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* 插入时间
|
||||||
|
*/
|
||||||
|
private String insert_time;
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
package org.nl.b_lms.storage_manage.database.service.dao.mapper;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import org.nl.b_lms.storage_manage.database.service.dao.BstIvtBoxinfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* Mapper 接口
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author author
|
||||||
|
* @since 2024-01-30
|
||||||
|
*/
|
||||||
|
public interface BstIvtBoxinfoMapper extends BaseMapper<BstIvtBoxinfo> {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
<?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="org.nl.b_lms.storage_manage.database.service.dao.mapper.BstIvtBoxinfoMapper">
|
||||||
|
|
||||||
|
</mapper>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
package org.nl.b_lms.storage_manage.database.service.impl;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import org.nl.b_lms.storage_manage.database.service.IBstIvtBoxinfoService;
|
||||||
|
import org.nl.b_lms.storage_manage.database.service.dao.BstIvtBoxinfo;
|
||||||
|
import org.nl.b_lms.storage_manage.database.service.dao.mapper.BstIvtBoxinfoMapper;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* <p>
|
||||||
|
* 服务实现类
|
||||||
|
* </p>
|
||||||
|
*
|
||||||
|
* @author author
|
||||||
|
* @since 2024-01-30
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class BstIvtBoxinfoServiceImpl extends ServiceImpl<BstIvtBoxinfoMapper, BstIvtBoxinfo> implements IBstIvtBoxinfoService {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -17,6 +17,12 @@ public class InBoxManageServiceImpl implements InBoxManageService {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void inBox(JSONObject whereJson) {
|
public void inBox(JSONObject whereJson) {
|
||||||
|
/*
|
||||||
|
* 1.找木箱区的一个仓位
|
||||||
|
* 2.查询mes木箱信息,插入木箱信息表
|
||||||
|
* 3.插入木箱对应载具表
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,9 +18,6 @@ public interface InBoxManageService {
|
|||||||
* box_no: 木箱号
|
* box_no: 木箱号
|
||||||
* vehicle_code:托盘号
|
* vehicle_code:托盘号
|
||||||
* device_code:起点点位
|
* device_code:起点点位
|
||||||
* box_length:木箱长度
|
|
||||||
* box_width:木箱宽度
|
|
||||||
* box_high:木箱高度
|
|
||||||
* }
|
* }
|
||||||
*/
|
*/
|
||||||
void inBox(JSONObject whereJson);
|
void inBox(JSONObject whereJson);
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user