fix:企业端分标委

This commit is contained in:
zhangqinlin
2021-12-15 15:48:20 +08:00
parent d35087dc0e
commit 41c4908738
3 changed files with 5 additions and 3 deletions
@@ -103,7 +103,7 @@ public class PayProjectCommon {
/**
* 项目类型1:工作组,2:分标委, 3:理事会
*/
public final static Integer PROJECT_TYPE_FILE3 =3;
public final static Integer PROJECT_TYPE_FILE3 = 3;
/**
* 需要发票(1:增值税普通发票,2:增值税专用发票,0:否,3:需要发票(小程序需要))
*/
@@ -106,6 +106,8 @@ public class PayWorkingGroupDistributionRecordController extends JeroController<
s.setFileType("工作组");
} else if (s.getFileType().equals("2")) {
s.setFileType("分标委");
} else if (s.getFileType().equals("3")) {
s.setFileType("理事会");
} else {
s.setFileType("会议");
}
@@ -32,7 +32,7 @@
from (
SELECT SUBSTRING_INDEX(SUBSTRING_INDEX(pm.meeting_data,',',help_topic_id+1),',',-1) AS fileId,
pm.meeting_name as fileCome
,3 as fileType,
,4 as fileType,
pm.create_time as uploadTime
from pay_meeting pm join mysql.help_topic ht on ht.help_topic_id <![CDATA[<]]> LENGTH(pm.meeting_data)-LENGTH(REPLACE(pm.meeting_data,',',''))+1 right join pay_meeting_remind_record pmrr on(pmrr.meeting_id=pm.id) WHERE pm.meeting_data is not null and pmrr.contact_id=#{id}) pht
left join oss_file ossf on (pht.fileId=ossf.id)) ail
@@ -46,4 +46,4 @@
</select>
</mapper>
</mapper>