agent status list bug fixes

This commit is contained in:
Donghuang 2024-03-15 13:47:41 +08:00
parent 076e33fb1c
commit 8188f46fbd
2 changed files with 7 additions and 1 deletions

View File

@ -57,7 +57,7 @@ if [ ! -d "$APP" ]; then
fi
if [ ! "$3" == "nb" ]; then
mvn -T 4C clean package -pl $APP -am -DskipTests
mvn clean package -pl $APP -am -DskipTests
fi
TARGET_DIR=$APP/target
@ -68,6 +68,10 @@ echo "JAR [$JAR] found"
if [ "$2" == "test" ]; then
echo "Deploy test."
deploy_server 'xiadou@118.24.251.131' $APP $JAR
elif [ "$2" == "cd" ]; then
echo "Deploy chengdu prod."
PORT=3022
deploy_server 'xiandou@171.217.82.63' $APP $JAR $PORT
elif [ "$2" == "prod" ]; then
echo "Deploy prod."
PORT=4026

View File

@ -237,6 +237,7 @@
</sql>
<select id="cmsCount" resultType="int">
<bind name="__set_table__" value="__search__.table('s')" />
select count(1)
from <include refid="table"/> s
left join br_queue_agent qa
@ -245,6 +246,7 @@
</select>
<select id="cmsList" resultType="com.pudonghot.yo.model.domain.AgentStatus">
<bind name="__set_table__" value="__search__.table('s')" />
select s.*, qa.queue_id
from <include refid="table"/> s
left join br_queue_agent qa