@@ -213,13 +213,6 @@ public class BusinessConstants {
|
||||
|
||||
public static final String ROLE_TYPE_PUBLIC = "全部数据";
|
||||
|
||||
/**
|
||||
* 是否需要开票
|
||||
*/
|
||||
public static final String NO_NEED = "不需要";
|
||||
public static final String NEED_GENERAL = "需要普票";
|
||||
public static final String NEED_SPECIAL = "需要专票";
|
||||
|
||||
/**
|
||||
* redis相关
|
||||
* */
|
||||
|
||||
@@ -57,11 +57,6 @@ public class DepotHeadVo4List extends DepotHead{
|
||||
*/
|
||||
private BigDecimal realNeedDebt;
|
||||
|
||||
/**
|
||||
* 是否需要开票
|
||||
*/
|
||||
private String needInvoiceStr;
|
||||
|
||||
public String getProjectName() {
|
||||
return projectName;
|
||||
}
|
||||
@@ -229,12 +224,4 @@ public class DepotHeadVo4List extends DepotHead{
|
||||
public void setRealNeedDebt(BigDecimal realNeedDebt) {
|
||||
this.realNeedDebt = realNeedDebt;
|
||||
}
|
||||
|
||||
public String getNeedInvoiceStr() {
|
||||
return needInvoiceStr;
|
||||
}
|
||||
|
||||
public void setNeedInvoiceStr(String needInvoiceStr) {
|
||||
this.needInvoiceStr = needInvoiceStr;
|
||||
}
|
||||
}
|
||||
@@ -202,10 +202,6 @@ public class DepotHeadService {
|
||||
if(materialCountListMap!=null) {
|
||||
dh.setMaterialCount(materialCountListMap.get(dh.getId()));
|
||||
}
|
||||
//是否需要开票
|
||||
if(StringUtil.isNotEmpty(dh.getNeedInvoice())) {
|
||||
dh.setNeedInvoiceStr(parseNeedInvoice(dh.getNeedInvoice()));
|
||||
}
|
||||
//以销定购的情况(不能显示销售单据的金额和客户名称)
|
||||
if(StringUtil.isNotEmpty(purchaseStatus)) {
|
||||
dh.setOrganName("****");
|
||||
@@ -747,18 +743,6 @@ public class DepotHeadService {
|
||||
return materialCountListMap;
|
||||
}
|
||||
|
||||
public String parseNeedInvoice(String needInvoice) {
|
||||
if("0".equals(needInvoice)) {
|
||||
return BusinessConstants.NO_NEED;
|
||||
} else if("1".equals(needInvoice)) {
|
||||
return BusinessConstants.NEED_GENERAL;
|
||||
} else if("2".equals(needInvoice)) {
|
||||
return BusinessConstants.NEED_SPECIAL;
|
||||
} else {
|
||||
return BusinessConstants.NO_NEED;
|
||||
}
|
||||
}
|
||||
|
||||
public List<DepotHeadVo4InDetail> findInOutDetail(String beginTime, String endTime, String type, String[] creatorArray,
|
||||
String[] organArray, List<Long> categoryList, Boolean forceFlag, Boolean inOutManageFlag,
|
||||
String materialParam, List<Long> depotList, Integer oId, String number,
|
||||
|
||||
Reference in New Issue
Block a user