id类型修改;
This commit is contained in:
@@ -24,8 +24,8 @@ public class BmsInvoiceInfo extends BaseVOEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**用户ID*/
|
||||
@ApiModelProperty(value = "用户ID")
|
||||
@Excel(name = "用户ID", width = 15)
|
||||
|
||||
@@ -24,7 +24,7 @@ public class BmsInvoiceList extends BaseVOEntity {
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.AUTO)
|
||||
private String id;
|
||||
private Long id;
|
||||
/**发票抬头*/
|
||||
@ApiModelProperty(value = "发票抬头")
|
||||
@Excel(name = "发票抬头", width = 15)
|
||||
|
||||
+2
-2
@@ -18,8 +18,8 @@ import java.util.Date;
|
||||
@Data
|
||||
public class BmsSettlementPartyInvoice extends BaseVOEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
|
||||
@ApiModelProperty(value = "结算方姓名")
|
||||
@Excel(name = "结算方姓名", width = 15)
|
||||
|
||||
+4
-4
@@ -198,7 +198,7 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
||||
List<BmsMakeOutInvoice> bmsMakeOutInvoices = bmsInvoiceListDTO.getBmsMakeOutInvoices();
|
||||
if(ObjectUtil.isNotNull(bmsMakeOutInvoices)&&bmsMakeOutInvoices.size()>0){
|
||||
for (BmsMakeOutInvoice bmsMakeOutInvoice : bmsMakeOutInvoices) {
|
||||
if(StringUtils.isNotBlank(bmsMakeOutInvoice.getId())){
|
||||
if(bmsMakeOutInvoice.getId() != null){
|
||||
//bmsMakeOutInvoice.setUpdateBy(sysUser.getId());
|
||||
bmsMakeOutInvoice.setUpdateTime(new Date());
|
||||
bmsMakeOutInvoice.setIsDelete(0);
|
||||
@@ -208,7 +208,7 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
||||
String invoiceCode=bmsMakeOutInvoice.getInvoiceCode();
|
||||
BigDecimal invoiceValue=bmsMakeOutInvoice.getInvoiceValue();
|
||||
BeanUtils.copyProperties(bmsInvoiceList, bmsMakeOutInvoice);
|
||||
bmsMakeOutInvoice.setId("");
|
||||
//bmsMakeOutInvoice.setId("");
|
||||
//bmsMakeOutInvoice.setCreateBy(sysUser.getId());
|
||||
bmsMakeOutInvoice.setCreateTime(new Date());
|
||||
bmsMakeOutInvoice.setInvoiceId(bmsInvoiceList.getId());
|
||||
@@ -318,7 +318,7 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
||||
String invoiceCode=bmsMakeOutInvoice.getInvoiceCode();
|
||||
BigDecimal invoiceValue=bmsMakeOutInvoice.getInvoiceValue();
|
||||
BeanUtils.copyProperties(bmsInvoiceList, bmsMakeOutInvoice);
|
||||
bmsMakeOutInvoice.setId("");
|
||||
//bmsMakeOutInvoice.setId("");
|
||||
//bmsMakeOutInvoice.setCreateBy(sysUser.getId());
|
||||
bmsMakeOutInvoice.setCreateTime(date);
|
||||
bmsMakeOutInvoice.setInvoiceId(bmsInvoiceList.getId());
|
||||
@@ -705,7 +705,7 @@ public class BmsInvoiceListServiceImpl extends ServiceImpl<BmsInvoiceListMapper,
|
||||
if (null == sysUser) {
|
||||
throw new ServiceException("未查询到登录人信息");
|
||||
}
|
||||
if(StringUtils.isBlank(bmsInvoiceListInvoiceStateDTO.getId())){
|
||||
if(bmsInvoiceListInvoiceStateDTO.getId() == null){
|
||||
throw new ServiceException("未获取到发票信息");
|
||||
}
|
||||
String [] idList = bmsInvoiceListInvoiceStateDTO.getId().split(",");
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ public class BmsInvoiceListDTO implements Serializable {
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
private Long id;
|
||||
/**发票抬头*/
|
||||
@ApiModelProperty(value = "发票抬头")
|
||||
@Excel(name = "发票抬头", width = 15)
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ public class BmsInvoiceListQueryDTO implements Serializable {
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
private Long id;
|
||||
|
||||
/**发票状态(0-未开票,1-已取消申请,2-已开票,3-已驳回,4-已寄出,5-已作废)*/
|
||||
@ApiModelProperty(value = "发票状态(0-未开票,1-已取消申请,2-已开票,3-已驳回,4-已寄出,5-已作废)")
|
||||
|
||||
+1
-1
@@ -27,7 +27,7 @@ public class BmsInvoiceListDetailsVO implements Serializable {
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
private Long id;
|
||||
/**发票抬头*/
|
||||
@ApiModelProperty(value = "发票抬头")
|
||||
@Excel(name = "发票抬头", width = 15)
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ public class BmsInvoiceListVO implements Serializable {
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
private Long id;
|
||||
/**发票申请时间*/
|
||||
@ApiModelProperty(value = "发票申请时间")
|
||||
@Excel(name = "发票申请时间", width = 25, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
||||
|
||||
+3
-3
@@ -23,12 +23,12 @@ public class BmsMakeOutInvoice extends BaseVOEntity {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
/**主键*/
|
||||
@TableId(type = IdType.ID_WORKER_STR)
|
||||
private String id;
|
||||
@TableId(type = IdType.AUTO)
|
||||
private Long id;
|
||||
/**发票ID*/
|
||||
@ApiModelProperty(value = "发票ID")
|
||||
@Excel(name = "发票ID", width = 15)
|
||||
private String invoiceId;
|
||||
private Long invoiceId;
|
||||
/**发票抬头*/
|
||||
@ApiModelProperty(value = "发票抬头")
|
||||
@Excel(name = "发票抬头", width = 15)
|
||||
|
||||
Reference in New Issue
Block a user