Browse Source

项目预警开发

dev_kxc
zhuyulei 1 year ago
parent
commit
02d2502e49
  1. 8
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcjsjdBuiProInfoController.java
  2. 2
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcjsjdBuiProInfo.java
  3. 4
      jwtech-system/src/main/resources/mapper/build/BsSgcjsjdBuiProInfoMapper.xml

8
jwtech-system/src/main/java/com/kms/build/controller/BsSgcjsjdBuiProInfoController.java

@ -197,8 +197,8 @@ public class BsSgcjsjdBuiProInfoController extends BaseController
if (townshipInvestments==null){
townshipInvestments = BigDecimal.valueOf(BigDecimal.ROUND_UP);
}
BigDecimal total = centralArrangedFunds.add(cityLevelFunds).add(provincialFunding).
add(countyLevelFunds).add(townshipInvestments);
String total = String.valueOf(centralArrangedFunds.add(cityLevelFunds).add(provincialFunding).
add(countyLevelFunds).add(townshipInvestments));
bsSgcjsjdBuiProInfo.setTotal(total);
bsSgcjsjdBuiProInfo.setProjectStatus("0");
return toAjax(bsSgcjsjdBuiProInfoService.save(bsSgcjsjdBuiProInfo));
@ -233,8 +233,8 @@ public class BsSgcjsjdBuiProInfoController extends BaseController
if (townshipInvestments==null){
townshipInvestments = BigDecimal.valueOf(BigDecimal.ROUND_UP);
}
BigDecimal total = centralArrangedFunds.add(cityLevelFunds).add(provincialFunding).
add(countyLevelFunds).add(townshipInvestments);
String total = String.valueOf(centralArrangedFunds.add(cityLevelFunds).add(provincialFunding).
add(countyLevelFunds).add(townshipInvestments));
bsSgcjsjdBuiProInfo.setTotal(total);
return toAjax(bsSgcjsjdBuiProInfoService.updateById(bsSgcjsjdBuiProInfo));

2
jwtech-system/src/main/java/com/kms/build/domain/BsSgcjsjdBuiProInfo.java

@ -197,7 +197,7 @@ public class BsSgcjsjdBuiProInfo extends BaseEntity
private String isMajor;
private BigDecimal total;
private String total;
@TableField(exist = false)
private BigDecimal contractPayment;

4
jwtech-system/src/main/resources/mapper/build/BsSgcjsjdBuiProInfoMapper.xml

@ -159,7 +159,7 @@
<select id="selectManagePage" resultMap="projectManage">
<bind name="pageNum" value="(pageNum-1)*pageSize"></bind>
<include refid="projectMangeInfo"></include>
<where>
<if test="projectName!=null and projectName!=''">
@ -173,7 +173,7 @@
</if>
<include refid="com.kms.system.mapper.SysXzqhMapper.xzqhCondition"></include>
</where>
order by pi.${orderBy} desc LIMIT #{pageNum},#{pageSize};
order by pi.${orderBy} desc
</select>

Loading…
Cancel
Save