问题修复
This commit is contained in:
parent
c47b9ffbea
commit
d952c24666
|
|
@ -133,7 +133,7 @@
|
|||
LEFT JOIN (
|
||||
SELECT tower_id,next_tower_id
|
||||
FROM tb_three_span tts
|
||||
WHERE tts.span_type = '1'
|
||||
WHERE tts.span_type = '1' AND tts.is_active = '1'
|
||||
GROUP BY tower_id,next_tower_id
|
||||
) B ON (tt.id = B.tower_id) OR (tt.id = B.next_tower_id)
|
||||
LEFT JOIN (
|
||||
|
|
|
|||
|
|
@ -149,16 +149,16 @@
|
|||
<!--查询工程杆塔进度-->
|
||||
<select id="getTowerProgress"
|
||||
resultType="com.bonus.digitalSignage.backstage.entity.vo.ProProgressVo$ProDetailVo">
|
||||
SELECT COUNT(IF(tower_progress >= 1, 1, NULL)) AS num1,
|
||||
COUNT(IF(tower_progress >= 2, 1, NULL)) AS num2,
|
||||
COUNT(IF(tower_progress >= 3, 1, NULL)) AS num3,
|
||||
COUNT(IF(tower_progress >= 4, 1, NULL)) AS num4,
|
||||
COUNT(IF(tower_progress >= 5, 1, NULL)) AS num5,
|
||||
COUNT(IF(tower_progress >= 6, 1, NULL)) AS num6,
|
||||
COUNT(IF(tower_progress >= 7, 1, NULL)) AS num7,
|
||||
COUNT(IF(tower_progress >= 8, 1, NULL)) AS num8,
|
||||
COUNT(IF(tower_progress >= 9, 1, NULL)) AS num9,
|
||||
COUNT(IF(tower_progress >= 10, 1, NULL)) AS num10,
|
||||
SELECT COUNT(IF(tower_progress = 1, 1, NULL)) AS num1,
|
||||
COUNT(IF(tower_progress = 2, 1, NULL)) AS num2,
|
||||
COUNT(IF(tower_progress = 3, 1, NULL)) AS num3,
|
||||
COUNT(IF(tower_progress = 4, 1, NULL)) AS num4,
|
||||
COUNT(IF(tower_progress = 5, 1, NULL)) AS num5,
|
||||
COUNT(IF(tower_progress = 6, 1, NULL)) AS num6,
|
||||
COUNT(IF(tower_progress = 7, 1, NULL)) AS num7,
|
||||
COUNT(IF(tower_progress = 8, 1, NULL)) AS num8,
|
||||
COUNT(IF(tower_progress = 9, 1, NULL)) AS num9,
|
||||
COUNT(IF(tower_progress = 10, 1, NULL)) AS num10,
|
||||
COUNT(*) AS towerNum
|
||||
FROM tb_tower WHERE pro_id = #{id} AND is_actvice = '1'
|
||||
</select>
|
||||
|
|
|
|||
|
|
@ -284,7 +284,7 @@ function loadTowerOptions() {
|
|||
params = {
|
||||
encryptedData: encryptCBC(JSON.stringify(params)),
|
||||
};
|
||||
ajaxRequest(url, "POST", params, true, null, function (result) {
|
||||
ajaxRequest(url, "POST", params, false, null, function (result) {
|
||||
if (result.code === 200) {
|
||||
let options = '<option value="">选择杆塔</option>';
|
||||
// 保存杆塔列表数据
|
||||
|
|
@ -314,7 +314,7 @@ function getThreeSpanById() {
|
|||
url,
|
||||
"POST",
|
||||
params,
|
||||
true,
|
||||
false,
|
||||
null,
|
||||
function (result) {
|
||||
layer.close(loadingMsg);
|
||||
|
|
@ -442,6 +442,7 @@ function setFormData(data) {
|
|||
form.render("select");
|
||||
}
|
||||
}
|
||||
layui.form.render();
|
||||
}
|
||||
|
||||
function saveData2() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue