diff --git a/api-admin/pom.xml b/api-admin/pom.xml index 6a4093da..c47f293e 100644 --- a/api-admin/pom.xml +++ b/api-admin/pom.xml @@ -166,10 +166,6 @@ org.springframework.boot spring-boot-starter-websocket - - org.springframework.boot - spring-boot-starter-data-redis - diff --git a/api-admin/src/main/java/com/glxp/api/admin/dao/business/StockOrderUploadLogDao.java b/api-admin/src/main/java/com/glxp/api/admin/dao/business/StockOrderUploadLogDao.java new file mode 100644 index 00000000..bbffd862 --- /dev/null +++ b/api-admin/src/main/java/com/glxp/api/admin/dao/business/StockOrderUploadLogDao.java @@ -0,0 +1,34 @@ +package com.glxp.api.admin.dao.business; + +import com.glxp.api.admin.entity.business.StockOrderUploadLogEntity; +import com.glxp.api.admin.req.business.StockOrderUploadLogRequest; +import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; + +import java.util.List; + +@Mapper +public interface StockOrderUploadLogDao { + int deleteByPrimaryKey(Integer id); + + int insert(StockOrderUploadLogEntity record); + + int insertSelective(StockOrderUploadLogEntity record); + + StockOrderUploadLogEntity selectByPrimaryKey(Integer id); + + int updateByPrimaryKeySelective(StockOrderUploadLogEntity record); + + int updateByPrimaryKey(StockOrderUploadLogEntity record); + + List selectList(StockOrderUploadLogRequest request); + + /** + * 根据 + * + * @param billNo + * @param status + * @return + */ + List selectBillNoList(@Param("billNo") String billNo, @Param("status") String status); +} \ No newline at end of file diff --git a/api-admin/src/main/resources/mybatis/mapper/business/StockOrderUploadLogDao.xml b/api-admin/src/main/resources/mybatis/mapper/business/StockOrderUploadLogDao.xml new file mode 100644 index 00000000..506ee39e --- /dev/null +++ b/api-admin/src/main/resources/mybatis/mapper/business/StockOrderUploadLogDao.xml @@ -0,0 +1,151 @@ + + + + + + + + + + + + + + + + + + id, billNo, billDate, billType, thrBillNo, submitTime, `status`, `result` + + + + + delete from stock_order_upload_log + where id = #{id,jdbcType=INTEGER} + + + + insert into stock_order_upload_log (billNo, billDate, billType, + thrBillNo, submitTime, `status`, + `result`) + values (#{billNo,jdbcType=VARCHAR}, #{billDate,jdbcType=TIMESTAMP}, #{billType,jdbcType=VARCHAR}, + #{thrBillNo,jdbcType=VARCHAR}, #{submitTime,jdbcType=TIMESTAMP}, #{status,jdbcType=INTEGER}, + #{result,jdbcType=VARCHAR}) + + + + insert into stock_order_upload_log + + + billNo, + + + billDate, + + + billType, + + + thrBillNo, + + + submitTime, + + + `status`, + + + `result`, + + + + + #{billNo,jdbcType=VARCHAR}, + + + #{billDate,jdbcType=TIMESTAMP}, + + + #{billType,jdbcType=VARCHAR}, + + + #{thrBillNo,jdbcType=VARCHAR}, + + + #{submitTime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=INTEGER}, + + + #{result,jdbcType=VARCHAR}, + + + + + + update stock_order_upload_log + + + billNo = #{billNo,jdbcType=VARCHAR}, + + + billDate = #{billDate,jdbcType=TIMESTAMP}, + + + billType = #{billType,jdbcType=VARCHAR}, + + + thrBillNo = #{thrBillNo,jdbcType=VARCHAR}, + + + submitTime = #{submitTime,jdbcType=TIMESTAMP}, + + + `status` = #{status,jdbcType=INTEGER}, + + + `result` = #{result,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=INTEGER} + + + + update stock_order_upload_log + set billNo = #{billNo,jdbcType=VARCHAR}, + billDate = #{billDate,jdbcType=TIMESTAMP}, + billType = #{billType,jdbcType=VARCHAR}, + thrBillNo = #{thrBillNo,jdbcType=VARCHAR}, + submitTime = #{submitTime,jdbcType=TIMESTAMP}, + `status` = #{status,jdbcType=INTEGER}, + `result` = #{result,jdbcType=VARCHAR} + where id = #{id,jdbcType=INTEGER} + + + + + \ No newline at end of file