出货通知导入

master
erzhongxmu 2022-03-23 18:05:13 +08:00
parent f5782cde9e
commit 30d46f8a8d
4 changed files with 50 additions and 48 deletions

View File

@ -3190,7 +3190,7 @@ public class WmOmNoticeHController extends BaseController {
String noticeid = wmUtil.getNextomNoticeId(wmOmNoticeH.getOrderTypeCode()); String noticeid = wmUtil.getNextomNoticeId(wmOmNoticeH.getOrderTypeCode());
wmOmNoticeH.setOmNoticeId(noticeid); wmOmNoticeH.setOmNoticeId(noticeid);
wmOmNoticeH.setOmBeizhu(pageheader.getImBeizhu()); wmOmNoticeH.setOmBeizhu(pageheader.getImBeizhu());
wmOmNoticeH.setOcusCode(pageheader.getSupCode()); wmOmNoticeH.setOcusCode(pageheader.getOcusCode());
wmOmNoticeH.setDelvAddr(pageheader.getDelvAddr()); wmOmNoticeH.setDelvAddr(pageheader.getDelvAddr());
MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", wmOmNoticeH.getOcusCode()); MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", wmOmNoticeH.getOcusCode());
if (mdcusother != null) { if (mdcusother != null) {
@ -3253,6 +3253,8 @@ public class WmOmNoticeHController extends BaseController {
wmNoticeImpPage.setGoodsName(t.getGoodsName());//商品名称 wmNoticeImpPage.setGoodsName(t.getGoodsName());//商品名称
wmNoticeImpPage.setGoodsQua(t.getGoodsQua());//数量 wmNoticeImpPage.setGoodsQua(t.getGoodsQua());//数量
wmNoticeImpPage.setGoodsUnit(t.getGoodsUnit());//单位 wmNoticeImpPage.setGoodsUnit(t.getGoodsUnit());//单位
wmNoticeImpPage.setOcusCode(t.getOcusCode());//三方客户编码
wmNoticeImpPage.setOcusName(t.getOcusName());//三方客户名字
list.add(wmNoticeImpPage); list.add(wmNoticeImpPage);
listheader.add(wmNoticeImpPage); listheader.add(wmNoticeImpPage);
} }
@ -3326,7 +3328,7 @@ public class WmOmNoticeHController extends BaseController {
String noticeid = wmUtil.getNextomNoticeId(wmOmNoticeH.getOrderTypeCode()); String noticeid = wmUtil.getNextomNoticeId(wmOmNoticeH.getOrderTypeCode());
wmOmNoticeH.setOmNoticeId(noticeid); wmOmNoticeH.setOmNoticeId(noticeid);
wmOmNoticeH.setOmBeizhu(pageheader.getImBeizhu()); wmOmNoticeH.setOmBeizhu(pageheader.getImBeizhu());
wmOmNoticeH.setOcusCode(pageheader.getSupCode()); wmOmNoticeH.setOcusCode(pageheader.getOcusCode());
wmOmNoticeH.setDelvAddr(pageheader.getDelvAddr()); wmOmNoticeH.setDelvAddr(pageheader.getDelvAddr());
MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", wmOmNoticeH.getOcusCode()); MdCusOtherEntity mdcusother = systemService.findUniqueByProperty(MdCusOtherEntity.class, "keHuBianMa", wmOmNoticeH.getOcusCode());
if (mdcusother != null) { if (mdcusother != null) {

View File

@ -68,11 +68,11 @@ public class WmNoticeImpPage implements java.io.Serializable {
/**进货通知单号*/ /**进货通知单号*/
// @Excel(name="通知单号") // @Excel(name="通知单号")
private String noticeId; private String noticeId;
@Excel(name="供应商编码") @Excel(name="客户编号")
private String supCode; private java.lang.String ocusCode;
/**附件*/ @Excel(name="客户名称")
@Excel(name="供应商名称") private java.lang.String ocusName;
private String supName;
@Excel(name="行项目标识ID") @Excel(name="行项目标识ID")
private java.lang.String otherId; private java.lang.String otherId;
@Excel(name="商品") @Excel(name="商品")
@ -353,23 +353,23 @@ public class WmNoticeImpPage implements java.io.Serializable {
this.wherecon = wherecon; this.wherecon = wherecon;
} }
public String getSupCode() {
return supCode; public String getOcusCode() {
return ocusCode;
} }
public void setSupCode(String supCode) { public void setOcusCode(String ocusCode) {
this.supCode = supCode; this.ocusCode = ocusCode;
} }
public String getSupName() { public String getOcusName() {
return supName; return ocusName;
} }
public void setSupName(String supName) { public void setOcusName(String ocusName) {
this.supName = supName; this.ocusName = ocusName;
} }
public String getOtherId() { public String getOtherId() {
return otherId; return otherId;
} }

View File

@ -5,12 +5,12 @@ import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date; import java.util.Date;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author erzhongxmu * @author erzhongxmu
* @date 2017-09-11 15:08:34 * @date 2017-09-11 15:08:34
* @version V1.0 * @version V1.0
* *
*/ */
public class WmOmNoticeImpPage implements java.io.Serializable { public class WmOmNoticeImpPage implements java.io.Serializable {
@ -45,7 +45,7 @@ public class WmOmNoticeImpPage implements java.io.Serializable {
private String sysCompanyCode; private String sysCompanyCode;
/**客户编码*/ /**客户编码*/
@Excel(name="客户编码") @Excel(name="货主编码")
private String cusCode; private String cusCode;
/**预计到货时间*/ /**预计到货时间*/
@ -64,10 +64,11 @@ public class WmOmNoticeImpPage implements java.io.Serializable {
private String noticeId; private String noticeId;
private String supCode; @Excel(name="客户编号")
/**附件*/ private java.lang.String ocusCode;
@Excel(name="客户名称")
private java.lang.String ocusName;
private String supName;
private String otherId; private String otherId;
@Excel(name="商品编号") @Excel(name="商品编号")
@ -346,23 +347,22 @@ public class WmOmNoticeImpPage implements java.io.Serializable {
this.wherecon = wherecon; this.wherecon = wherecon;
} }
public String getSupCode() { public String getOcusCode() {
return supCode; return ocusCode;
} }
public void setSupCode(String supCode) { public void setOcusCode(String ocusCode) {
this.supCode = supCode; this.ocusCode = ocusCode;
} }
public String getSupName() { public String getOcusName() {
return supName; return ocusName;
} }
public void setSupName(String supName) { public void setOcusName(String ocusName) {
this.supName = supName; this.ocusName = ocusName;
} }
public String getOtherId() { public String getOtherId() {
return otherId; return otherId;
} }

View File

@ -5,12 +5,12 @@ import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date; import java.util.Date;
/** /**
* @Title: Entity * @Title: Entity
* @Description: * @Description:
* @author erzhongxmu * @author erzhongxmu
* @date 2017-09-11 15:08:34 * @date 2017-09-11 15:08:34
* @version V1.0 * @version V1.0
* *
*/ */
public class WmOmNoticeImpnewPage implements java.io.Serializable { public class WmOmNoticeImpnewPage implements java.io.Serializable {
@ -45,7 +45,7 @@ public class WmOmNoticeImpnewPage implements java.io.Serializable {
private String sysCompanyCode; private String sysCompanyCode;
/**客户编码*/ /**客户编码*/
@Excel(name="客户编码") @Excel(name="货主编码")
private String cusCode; private String cusCode;
/**预计到货时间*/ /**预计到货时间*/
@Excel(name="预计出货时间",format = "yyyy-MM-dd") @Excel(name="预计出货时间",format = "yyyy-MM-dd")
@ -84,11 +84,12 @@ public class WmOmNoticeImpnewPage implements java.io.Serializable {
/**进货通知单号*/ /**进货通知单号*/
// @Excel(name="通知单号") // @Excel(name="通知单号")
private String noticeId; private String noticeId;
// @Excel(name="合作伙伴编号") @Excel(name="客户编号")
private String supCode;
/**附件*/ private java.lang.String ocusCode;
// @Excel(name="合作伙伴名称") @Excel(name="客户名称")
private String supName; private java.lang.String ocusName;
// @Excel(name="其他系统ID") // @Excel(name="其他系统ID")
private String otherId; private String otherId;
@Excel(name="商品") @Excel(name="商品")
@ -369,23 +370,22 @@ public class WmOmNoticeImpnewPage implements java.io.Serializable {
this.wherecon = wherecon; this.wherecon = wherecon;
} }
public String getSupCode() { public String getOcusCode() {
return supCode; return ocusCode;
} }
public void setSupCode(String supCode) { public void setOcusCode(String ocusCode) {
this.supCode = supCode; this.ocusCode = ocusCode;
} }
public String getSupName() { public String getOcusName() {
return supName; return ocusName;
} }
public void setSupName(String supName) { public void setOcusName(String ocusName) {
this.supName = supName; this.ocusName = ocusName;
} }
public String getOtherId() { public String getOtherId() {
return otherId; return otherId;
} }