@ -138,7 +138,7 @@ public class SysPdfTemplateController {
@PostMapping("/system/pdf/template/update")
public BaseResponse update(@RequestBody SysPdfTemplateSaveRequest sysPdfTemplateSaveRequest) {
// systemPDFTemplateSaveRequest.setId(1);
if(sysPdfTemplateSaveRequest.getBussinessStatusList().size()>0){
if(sysPdfTemplateSaveRequest.getBussinessStatusList()!=null && sysPdfTemplateSaveRequest.getBussinessStatusList().size()>0){
String bussinessStatus = String.join(",", sysPdfTemplateSaveRequest.getBussinessStatusList());
sysPdfTemplateSaveRequest.setBussinessStatus(bussinessStatus);
}
@ -115,6 +115,8 @@ CALL Pro_Temp_ColumnWork('sup_cert_remind_msg', 'remindCount', 'int', 1);
CALL Pro_Temp_ColumnWork('sync_data_bustypes', 'orderStatus', 'tinyint', 1);
CALL Pro_Temp_ColumnWork('sup_manufacturer', 'agentName', 'varchar(255)', 1);
INSERT ignore INTO `sys_scheduled`(`id`, `cronName`, `cron`, `customerId`, `remark`) VALUES (100, 'clean_log_task', '0 0 2 1/1 * ? ', NULL, '删除日志数据');