Browse Source

fix(all): 修改接收志邦数据时报错

pull/25/head
zhaoqiaobo 10 months ago
parent
commit
843d1ce390
  1. 1
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/OrderPackageMapper.xml
  2. 2
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/PackageInfoMapper.java
  3. 2
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/ReceiptMapper.xml
  4. 4
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/ZBReceiptMapper.java
  5. 6
      blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/service/impl/ReceiptServiceImpl.java

1
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/OrderPackageMapper.xml

@ -35,6 +35,7 @@
</if> </if>
</foreach> </foreach>
) packageCodeIds where packageCodeIds.pid = t.package_code) ) packageCodeIds where packageCodeIds.pid = t.package_code)
and t.sign_status = 0
group by re.depart_code, t.platform_order_code group by re.depart_code, t.platform_order_code
</select> </select>
<select id="findNoSignNumber" resultType="com.logpm.factorydata.zbom.vo.NoSignNumberDTO"> <select id="findNoSignNumber" resultType="com.logpm.factorydata.zbom.vo.NoSignNumberDTO">

2
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/PackageInfoMapper.java

@ -18,6 +18,7 @@ package com.logpm.factorydata.zbom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.logpm.factorydata.zbom.entity.ZbPackageInfoEntity; import com.logpm.factorydata.zbom.entity.ZbPackageInfoEntity;
import org.apache.ibatis.annotations.Mapper;
/** /**
* 志邦包件物料信息 Mapper 接口 * 志邦包件物料信息 Mapper 接口
@ -25,6 +26,7 @@ import com.logpm.factorydata.zbom.entity.ZbPackageInfoEntity;
* @author pref * @author pref
* @since 2023-08-21 * @since 2023-08-21
*/ */
@Mapper
public interface PackageInfoMapper extends BaseMapper<ZbPackageInfoEntity> { public interface PackageInfoMapper extends BaseMapper<ZbPackageInfoEntity> {
} }

2
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/ReceiptMapper.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.logpm.factorydata.zbom.mapper.ZBReceiptMapper"> <mapper namespace="com.logpm.factorydata.zbom.mapper.ZbReceiptMapper">
</mapper> </mapper>

4
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/mapper/ZBReceiptMapper.java

@ -18,6 +18,7 @@ package com.logpm.factorydata.zbom.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.logpm.factorydata.zbom.entity.ZbReceiptEntity; import com.logpm.factorydata.zbom.entity.ZbReceiptEntity;
import org.apache.ibatis.annotations.Mapper;
/** /**
* 志邦入库单 Mapper 接口 * 志邦入库单 Mapper 接口
@ -25,6 +26,7 @@ import com.logpm.factorydata.zbom.entity.ZbReceiptEntity;
* @author pref * @author pref
* @since 2023-08-21 * @since 2023-08-21
*/ */
public interface ZBReceiptMapper extends BaseMapper<ZbReceiptEntity> { @Mapper
public interface ZbReceiptMapper extends BaseMapper<ZbReceiptEntity> {
} }

6
blade-service/logpm-factory-data/logpm-factory-data-zbom/src/main/java/com/logpm/factorydata/zbom/service/impl/ReceiptServiceImpl.java

@ -16,10 +16,8 @@
*/ */
package com.logpm.factorydata.zbom.service.impl; package com.logpm.factorydata.zbom.service.impl;
import com.logpm.factorydata.zbom.entity.ZbFactoryOrderLogEntity;
import com.logpm.factorydata.zbom.entity.ZbReceiptEntity; import com.logpm.factorydata.zbom.entity.ZbReceiptEntity;
import com.logpm.factorydata.zbom.mapper.FactoryOrderLogMapper; import com.logpm.factorydata.zbom.mapper.ZbReceiptMapper;
import com.logpm.factorydata.zbom.mapper.ZBReceiptMapper;
import com.logpm.factorydata.zbom.service.IReceiptService; import com.logpm.factorydata.zbom.service.IReceiptService;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
@ -35,6 +33,6 @@ import org.springframework.stereotype.Service;
@Slf4j @Slf4j
@Service @Service
@AllArgsConstructor @AllArgsConstructor
public class ReceiptServiceImpl extends BaseServiceImpl<ZBReceiptMapper, ZbReceiptEntity> implements IReceiptService { public class ReceiptServiceImpl extends BaseServiceImpl<ZbReceiptMapper, ZbReceiptEntity> implements IReceiptService {
} }

Loading…
Cancel
Save