|
@@ -6,6 +6,7 @@ import com.steerinfo.dil.service.IWmshOutboundResultService;
|
|
|
import com.steerinfo.dil.util.DataChange;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
+import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.Date;
|
|
@@ -31,6 +32,9 @@ public class WmshOutboundResultServiceImpl implements IWmshOutboundResultService
|
|
|
@Autowired
|
|
|
private WmshOutboundResultMapper wmshOutboundResultMapper;
|
|
|
|
|
|
+ @Autowired
|
|
|
+ private WmshGridMaterialServiceImpl wmshGridMaterialService;
|
|
|
+
|
|
|
/**
|
|
|
* 查询所有的出库实绩
|
|
|
* @param map
|
|
@@ -51,6 +55,7 @@ public class WmshOutboundResultServiceImpl implements IWmshOutboundResultService
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional(rollbackFor = Exception.class)
|
|
|
public int addResult(Map<String, Object> map) {
|
|
|
WmshOutboundResult wmshOutboundResult = new WmshOutboundResult();
|
|
|
//获取主键
|