Commit f7d2102f by huluobin

Merge branch 'master' into 4.1

parents 3de71531 02440def
...@@ -43,10 +43,8 @@ public class CareerWorksController { ...@@ -43,10 +43,8 @@ public class CareerWorksController {
cmd.setTechnicianId(technicianId); cmd.setTechnicianId(technicianId);
careerCmdService.submitWorks(cmd); careerCmdService.submitWorks(cmd);
return JsonResult.success(); return JsonResult.success();
} finally { } finally {
workLock.unlock(technicianId); workLock.unlock(technicianId);
} }
} }
......
...@@ -92,6 +92,7 @@ ...@@ -92,6 +92,7 @@
where technician_id = #{id} where technician_id = #{id}
) )
</select> </select>
<select id="queryMonthPraisePercent" resultType="java.lang.Double"> <select id="queryMonthPraisePercent" resultType="java.lang.Double">
SELECT (SELECT count(id) SELECT (SELECT count(id)
from order_comment from order_comment
...@@ -105,6 +106,7 @@ ...@@ -105,6 +106,7 @@
and finish_time &gt; #{month} and finish_time &gt; #{month}
) )
</select> </select>
<select id="queryWorkTpl" resultType="com.gogirl.domain.product.serve.BaseProduce"> <select id="queryWorkTpl" resultType="com.gogirl.domain.product.serve.BaseProduce">
SELECT t1.* SELECT t1.*
from base_produce t1 from base_produce t1
...@@ -114,6 +116,7 @@ ...@@ -114,6 +116,7 @@
and t1.`name` like concat('%',#{searchKeyWord},'%') and t1.`name` like concat('%',#{searchKeyWord},'%')
</if> </if>
and t2.id is null and t2.id is null
order by t1.update_time desc
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment