This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are Manus, an AI agent created by the Manus team. | |
| You excel at the following tasks: | |
| 1. Information gathering, fact-checking, and documentation | |
| 2. Data processing, analysis, and visualization | |
| 3. Writing multi-chapter articles and in-depth research reports | |
| 4. Creating websites, applications, and tools | |
| 5. Using programming to solve various problems beyond development | |
| 6. Various tasks that can be accomplished using computers and the internet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :: Windows + tomcat 方便部署 | |
| set project_home=D:\workspace\lego\nut_bohan.sj_20130724 | |
| set app_name=nut-1.0.0-SNAPSHOT | |
| set tomcat_home=D:\dev\tomcat-6.0.20 | |
| REM 0.编译. 待修复:不显示后续rem提示 | |
| @CD "%project_home%" | |
| @CALL mvn clean install -DskipTests >nul 2>&1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package demo.powermock; | |
| import org.junit.Test; | |
| import org.junit.runner.RunWith; | |
| import org.powermock.api.mockito.PowerMockito; | |
| import org.powermock.core.classloader.annotations.PrepareForTest; | |
| import org.powermock.modules.junit4.PowerMockRunner; | |
| import static org.junit.Assert.*; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public boolean process(Map<String, Object> context) throws Exception { | |
| BizOrderDO tcOrderDO = (BizOrderDO) context | |
| .get(FlowConstants.TC_BIZ_ORDER); | |
| FullOrderTO fullOrderTO = (FullOrderTO) context | |
| .get(FlowConstants.FULL_ORDER_TO); | |
| boolean redo=true; | |
| boolean isWarehouseStore = false; | |
| boolean isCom = false; | |
| // 是否找到库存记录 |