ApsDemandOrder

parent 58128f3f
package com.aps.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* <p>
* APS需求订单表(合并需求预测+客户订单) 前端控制器
* </p>
*
* @author MyBatis-Plus
* @since 2026-08-12
*/
@RestController
@RequestMapping("/apsDemandOrder")
public class ApsDemandOrderController {
}
package com.aps.entity;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
@Data
public class ApsDemandOrder {
private String id;
private Long sourceType;
private String exp1;
private String exp2;
private BigDecimal exp3;
private BigDecimal exp4;
private LocalDateTime exp5;
private LocalDateTime exp6;
private Long zoneid;
private String zone;
private Long customerid;
private String customer;
private String code;
private String mmid;
private String mmcode;
private String mmname;
private String unit;
private BigDecimal quantity;
private BigDecimal meetquantity;
private BigDecimal meetgoal;
private BigDecimal meetrate;
private BigDecimal price;
private LocalDateTime deliverytime;
private Long stockid;
private String stock;
private String prioritry;
private String series;
private Long seriesId;
private String seriesName;
private Long isinsert;
private Long islock;
private Long part;
private Long delay;
private Long settle;
private Long isconsume;
private String remark;
private Long unitid;
private LocalDateTime begintime;
private LocalDateTime endtime;
private Long routingid;
private String routingname;
private String routingcode;
private Long routingstatus;
private Long status;
private Long schedulestatus;
private Long isScheduled;
private LocalDateTime creationtime;
private Long creatoruserid;
private LocalDateTime lastmodificationtime;
private Long lastmodifieruserid;
private Short isdeleted;
private LocalDateTime deletiontime;
private Long deleteruserid;
}
\ No newline at end of file
package com.aps.mapper;
import com.aps.entity.ApsDemandOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* <p>
* APS需求订单表(合并需求预测+客户订单) Mapper 接口
* </p>
*
* @author MyBatis-Plus
* @since 2026-08-12
*/
public interface ApsDemandOrderMapper extends BaseMapper<ApsDemandOrder> {
}
package com.aps.service;
import com.aps.entity.ApsDemandOrder;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* <p>
* APS需求订单表(合并需求预测+客户订单) 服务类
* </p>
*
* @author MyBatis-Plus
* @since 2026-08-12
*/
public interface ApsDemandOrderService extends IService<ApsDemandOrder> {
}
package com.aps.service.impl;
import com.aps.entity.ApsDemandOrder;
import com.aps.mapper.ApsDemandOrderMapper;
import com.aps.service.ApsDemandOrderService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
/**
* <p>
* APS需求订单表(合并需求预测+客户订单) 服务实现类
* </p>
*
* @author MyBatis-Plus
* @since 2026-08-12
*/
@Service
public class ApsDemandOrderServiceImpl extends ServiceImpl<ApsDemandOrderMapper, ApsDemandOrder> implements ApsDemandOrderService {
}
<?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.aps.mapper.ApsDemandOrderMapper">
<!-- 通用查询映射结果 -->
<resultMap id="BaseResultMap" type="com.aps.entity.ApsDemandOrder">
<id column="ID" property="id" />
<result column="SOURCE_TYPE" property="sourceType" />
<result column="EXP1" property="exp1" />
<result column="EXP2" property="exp2" />
<result column="EXP3" property="exp3" />
<result column="EXP4" property="exp4" />
<result column="EXP5" property="exp5" />
<result column="EXP6" property="exp6" />
<result column="ZONEID" property="zoneid" />
<result column="ZONE" property="zone" />
<result column="CUSTOMERID" property="customerid" />
<result column="CUSTOMER" property="customer" />
<result column="CODE" property="code" />
<result column="MMID" property="mmid" />
<result column="MMCODE" property="mmcode" />
<result column="MMNAME" property="mmname" />
<result column="UNIT" property="unit" />
<result column="QUANTITY" property="quantity" />
<result column="MEETQUANTITY" property="meetquantity" />
<result column="MEETGOAL" property="meetgoal" />
<result column="MEETRATE" property="meetrate" />
<result column="PRICE" property="price" />
<result column="DELIVERYTIME" property="deliverytime" />
<result column="STOCKID" property="stockid" />
<result column="STOCK" property="stock" />
<result column="PRIORITRY" property="prioritry" />
<result column="SERIES" property="series" />
<result column="SERIES_ID" property="seriesId" />
<result column="SERIES_NAME" property="seriesName" />
<result column="ISINSERT" property="isinsert" />
<result column="ISLOCK" property="islock" />
<result column="PART" property="part" />
<result column="DELAY" property="delay" />
<result column="SETTLE" property="settle" />
<result column="ISCONSUME" property="isconsume" />
<result column="REMARK" property="remark" />
<result column="UNITID" property="unitid" />
<result column="BEGINTIME" property="begintime" />
<result column="ENDTIME" property="endtime" />
<result column="ROUTINGID" property="routingid" />
<result column="ROUTINGNAME" property="routingname" />
<result column="ROUTINGCODE" property="routingcode" />
<result column="ROUTINGSTATUS" property="routingstatus" />
<result column="STATUS" property="status" />
<result column="SCHEDULESTATUS" property="schedulestatus" />
<result column="IS_SCHEDULED" property="isScheduled" />
<result column="CREATIONTIME" property="creationtime" />
<result column="CREATORUSERID" property="creatoruserid" />
<result column="LASTMODIFICATIONTIME" property="lastmodificationtime" />
<result column="LASTMODIFIERUSERID" property="lastmodifieruserid" />
<result column="ISDELETED" property="isdeleted" />
<result column="DELETIONTIME" property="deletiontime" />
<result column="DELETERUSERID" property="deleteruserid" />
</resultMap>
<!-- 通用查询结果列 -->
<sql id="Base_Column_List">
ID, SOURCE_TYPE, EXP1, EXP2, EXP3, EXP4, EXP5, EXP6, ZONEID, ZONE, CUSTOMERID, CUSTOMER, CODE, MMID, MMCODE, MMNAME, UNIT, QUANTITY, MEETQUANTITY, MEETGOAL, MEETRATE, PRICE, DELIVERYTIME, STOCKID, STOCK, PRIORITRY, SERIES, SERIES_ID, SERIES_NAME, ISINSERT, ISLOCK, PART, DELAY, SETTLE, ISCONSUME, REMARK, UNITID, BEGINTIME, ENDTIME, ROUTINGID, ROUTINGNAME, ROUTINGCODE, ROUTINGSTATUS, STATUS, SCHEDULESTATUS, IS_SCHEDULED, CREATIONTIME, CREATORUSERID, LASTMODIFICATIONTIME, LASTMODIFIERUSERID, ISDELETED, DELETIONTIME, DELETERUSERID
</sql>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment