Browse Source

1.修复推送数据bug

test
zhenghaoyu 1 year ago
parent
commit
c94d2f0d39
  1. 14
      blade-service-api/logpm-old-project-api/src/main/java/com/logpm/oldproject/entity/WarehouseEntity.java
  2. 2
      blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/mapper/AdvanceDetailMapper.xml

14
blade-service-api/logpm-old-project-api/src/main/java/com/logpm/oldproject/entity/WarehouseEntity.java

@ -16,12 +16,12 @@
*/ */
package com.logpm.oldproject.entity; package com.logpm.oldproject.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty; import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
/** /**
* 仓库 实体类 * 仓库 实体类
@ -32,8 +32,14 @@ import org.springblade.core.tenant.mp.TenantEntity;
@Data @Data
@TableName("ht_warehouse") @TableName("ht_warehouse")
@ApiModel(value = "Warehouse对象", description = "仓库") @ApiModel(value = "Warehouse对象", description = "仓库")
@EqualsAndHashCode(callSuper = true) public class WarehouseEntity {
public class WarehouseEntity extends TenantEntity {
@TableId(
value = "id",
type = IdType.AUTO
)
private Integer id ;
/** /**
* 代码 * 代码

2
blade-service/logpm-old-project/src/main/java/com/logpm/oldproject/mapper/AdvanceDetailMapper.xml

@ -82,7 +82,7 @@
FROM ht_advance_detail d FROM ht_advance_detail d
left join ht_waybill_order wo on wo.advance_id = d.advance_id and wo.delete_time = 0 left join ht_waybill_order wo on wo.advance_id = d.advance_id and wo.delete_time = 0
left join ht_way_bill wb on wb.id = wo.way_bill_id and wb.delete_time = 0 left join ht_way_bill wb on wb.id = wo.way_bill_id and wb.delete_time = 0
where d.unitNo = ${unitNo} where d.unitNo = #{unitNo}
</select> </select>

Loading…
Cancel
Save