|
@@ -29,6 +29,7 @@ import com.ruoyi.project.system.service.ISysUserService;
|
|
|
import io.jsonwebtoken.lang.Assert;
|
|
|
import org.apache.poi.ss.usermodel.*;
|
|
|
import org.apache.poi.xssf.streaming.SXSSFWorkbook;
|
|
|
+import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -158,7 +159,7 @@ public class TInvoiceBookingworkticketController extends BaseController
|
|
|
if (wtArr.length > 1) {
|
|
|
for (int i = 0; i < wtArr.length; i++) {
|
|
|
TInvoiceWorkcontent arrItem = new TInvoiceWorkcontent();
|
|
|
- arrItem = t;
|
|
|
+ BeanUtils.copyProperties(t, arrItem);
|
|
|
arrItem.setWorkType(wtArr[i]);
|
|
|
newWorkcontentList.add(arrItem);
|
|
|
}
|