增加直转数据标识
This commit is contained in:
parent
d93c4a38f9
commit
47e5755fc5
|
|
@ -219,4 +219,7 @@ public class MaterialBackApplyInfo implements Serializable {
|
|||
@ApiModelProperty(value = "是否电子签名 0 是,1 否")
|
||||
private Integer isElectronicSign;
|
||||
|
||||
@ApiModelProperty(value = "是否直转 0 否,1 是")
|
||||
private Integer isZz;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -335,4 +335,7 @@ public class MaterialLeaseApplyInfo extends BaseEntity {
|
|||
|
||||
@ApiModelProperty(value = "领料类型:0:班组,1:项目部")
|
||||
private String pickType;
|
||||
|
||||
@ApiModelProperty(value = "是否直转 0 否,1 是")
|
||||
private Integer isZz;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -228,6 +228,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bp.external_id AS externalId,
|
||||
bp.imp_unit AS impUnit,
|
||||
bt.bzz_idcard AS idCard,
|
||||
bai.direct_id as directId,
|
||||
CASE
|
||||
WHEN bai.direct_id is null THEN
|
||||
'0'
|
||||
ELSE
|
||||
'1'
|
||||
END isZz,
|
||||
CASE WHEN bai.back_sign_url IS NOT NULL
|
||||
THEN 0
|
||||
ELSE 1
|
||||
|
|
@ -327,6 +334,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bai.print_status as printStatus,
|
||||
bp.external_id AS externalId,
|
||||
bp.imp_unit AS impUnit,
|
||||
bai.direct_id as directId,
|
||||
CASE
|
||||
WHEN bai.direct_id is null THEN
|
||||
'0'
|
||||
ELSE
|
||||
'1'
|
||||
END isZz,
|
||||
bu.bzz_idcard AS idCard
|
||||
FROM
|
||||
back_apply_info bai
|
||||
|
|
|
|||
|
|
@ -88,6 +88,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bai.unit_id,
|
||||
bai.project_id as projectId,
|
||||
bt.link_man as relName,
|
||||
lai.direct_id as directId,
|
||||
CASE
|
||||
WHEN lai.direct_id is null THEN
|
||||
'0'
|
||||
ELSE
|
||||
'1'
|
||||
END isZz,
|
||||
CASE WHEN lai.lease_sign_url IS NOT NULL
|
||||
THEN 0
|
||||
ELSE 1
|
||||
|
|
@ -538,6 +545,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bp.external_id AS externalId,
|
||||
bu.bzz_idcard AS idCard,
|
||||
bp.imp_unit AS impUnit,
|
||||
lai.direct_id as directId,
|
||||
CASE
|
||||
WHEN lai.direct_id is null THEN
|
||||
'0'
|
||||
ELSE
|
||||
'1'
|
||||
END isZz,
|
||||
lai.remark as remark,
|
||||
CASE
|
||||
WHEN MAX(IFNULL(lad.is_update, 0)) = 1 THEN 1
|
||||
|
|
@ -1196,6 +1210,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
bp.external_id AS externalId,
|
||||
bu.bzz_idcard AS idCard,
|
||||
bp.imp_unit AS impUnit,
|
||||
lai.direct_id as directId,
|
||||
CASE
|
||||
WHEN lai.direct_id is null THEN
|
||||
'0'
|
||||
ELSE
|
||||
'1'
|
||||
END isZz,
|
||||
lpd.remark as remark,
|
||||
CASE
|
||||
WHEN MAX(IFNULL(lpd.is_update, 0)) = 1 THEN 1
|
||||
|
|
|
|||
Loading…
Reference in New Issue