#E10-49# 年度工作业务优化

main
shilei 10 months ago
parent 3a9d53cc44
commit 436ecad2da

@ -703,7 +703,7 @@ public class CockpitWorkAchievementsCmd {
if(StringUtils.isNotBlank(employeeId)){
String sql =" SELECT \n" +
" convert(ifnull(sum(cast(t1.skje as decimal(18,2))),0),char(100)) as skje " + //收款金额
" convert(ifnull(sum(cast(t1.skje as decimal(18,2))),0),char) as skje " + //收款金额
" from uf_jxhs_skmx t1\n" +
" left join uf_jxhs_zxhtzb t2 ON t1.hth = t2.hth AND t2.hth != '' AND t2.hth IS NOT NULL \n" +
" left join ebdf_physical_data epd on t1.id = epd.form_data_id and epd.delete_type = 0 \n" +
@ -803,9 +803,9 @@ public class CockpitWorkAchievementsCmd {
if(StringUtils.isNotBlank(employeeId)){
String sql =" select convert(ifnull(sum(cast(t1.htzje as decimal(18,2))),0),char(100)) as htzje" +
String sql =" select convert(ifnull(sum(cast(t1.htzje as decimal(18,2))),0),char) as htzje" +
" from uf_jxhs_xmys t1 \n" +
" where t1.ysrq>=? and t1.ysrq<=? " +
" where t1.ysrq>=? and t1.ysrq<=? \n" +
" and ( t1.qyjl = ? "+
" or t1.qyjl in (select cid from eteams.EMP_LINK where RELATION in ('othersenior','senior') and pid= ?)\n" +
" or t1.ysry = ?\n" +

Loading…
Cancel
Save