修改台账明细穿透逻辑
This commit is contained in:
parent
937143dd0b
commit
5b9b5fd836
|
|
@ -141,4 +141,6 @@ public class ProjectMaterialLedger {
|
|||
private Integer queryType;
|
||||
|
||||
private String backTime;
|
||||
|
||||
private String manager;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -261,6 +261,7 @@
|
|||
b.model_id AS modelId,
|
||||
LEFT(sba.back_time,10) as backTime,
|
||||
sba.`code` as planCode,
|
||||
sba.manager as manager,
|
||||
b.num AS totalBack
|
||||
FROM
|
||||
st_back_details b
|
||||
|
|
@ -273,7 +274,7 @@
|
|||
WHERE
|
||||
p.ID = #{proId}
|
||||
AND b.model_id = #{modelId}
|
||||
and sba.`status`='1'
|
||||
AND (sba.`status` != '0' OR sba.`status` IS NULL)
|
||||
<if test="planCode != null and planCode != ''">
|
||||
and sba.`code` LIKE CONCAT('%',#{planCode},'%')
|
||||
</if>
|
||||
|
|
|
|||
Loading…
Reference in New Issue